<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell, branch manifest</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=manifest</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=manifest'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2018-05-13T07:15:58+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-05-13T07:15:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-05-13T07:15:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d'/>
<id>urn:sha1:3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: expand: Fix buffer overflow in expandmeta</title>
<updated>2018-04-14T12:50:47+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-14T12:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d5f5045b43bd7a55402dfcecde511a2c207d07b7'/>
<id>urn:sha1:d5f5045b43bd7a55402dfcecde511a2c207d07b7</id>
<content type='text'>
Upstream commit:

    Date: Sun, 25 Mar 2018 16:38:00 +0800
    expand: Fix buffer overflow in expandmeta

    The native version of expandmeta allocates a buffer that may be
    overrun for two reasons.  First of all the size is 1 byte too small
    but this is normally hidden because the minimum size is rounded
    up to 2048 bytes.  Secondly, if the directory level is deep enough,
    any buffer can be overrun.

    This patch fixes both problems by calling realloc when necessary.

    Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;

function                                             old     new   delta
expmeta                                              517     635    +118
expandarg                                            990     996      +6
mklocal                                              288     290      +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 126/0)             Total: 126 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: make loopnest a global variable</title>
<updated>2018-04-13T11:10:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-04-13T11:10:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6f7d1af269eed4b42daeb9c6dfd2ba62f9cd47e4'/>
<id>urn:sha1:6f7d1af269eed4b42daeb9c6dfd2ba62f9cd47e4</id>
<content type='text'>
Fixes the test ash-misc/break5.tests.
</content>
</entry>
<entry>
<title>ash: make commandname a global variable</title>
<updated>2018-04-12T18:38:22+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-04-12T18:38:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=493058551b07dd88aa79facbded8b8388aa41a75'/>
<id>urn:sha1:493058551b07dd88aa79facbded8b8388aa41a75</id>
<content type='text'>
commandname is static so isn't copied during forkshell.  This was
causing the arith-tests script in the shell test suite to fail
because without commandname some error reports were missing line
numbers.
</content>
</entry>
<entry>
<title>shell: add 6856 $IFS tests to testsuites</title>
<updated>2018-04-11T18:24:58+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-11T18:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=46158dc833ca48a63a2547bb26eee133aa19dccf'/>
<id>urn:sha1:46158dc833ca48a63a2547bb26eee133aa19dccf</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix recent breakage from parse_stream() changes</title>
<updated>2018-04-11T18:00:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-11T18:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f693b606b732437bb1265c2ec883d93127f3f38e'/>
<id>urn:sha1:f693b606b732437bb1265c2ec883d93127f3f38e</id>
<content type='text'>
function                                             old     new   delta
parse_stream                                        3808    3821     +13

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix IFS handling in read</title>
<updated>2018-04-11T15:18:34+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-11T15:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=44257ad5d0790a846423c9ef69a50049366b4578'/>
<id>urn:sha1:44257ad5d0790a846423c9ef69a50049366b4578</id>
<content type='text'>
$ echo "X:Y:" | (IFS=": " read x y; echo "|$x|$y|")
|X|Y|
$ echo "X:Y  :  " | (IFS=": " read x y; echo "|$x|$y|")
|X|Y|

function                                             old     new   delta
shell_builtin_read                                  1320    1426    +106

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: IFS fixes</title>
<updated>2018-04-11T14:02:58+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-11T14:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9678636911b39a7adf9b51d5b625cf4dc7e4ac81'/>
<id>urn:sha1:9678636911b39a7adf9b51d5b625cf4dc7e4ac81</id>
<content type='text'>
$ IFS=": "; x=" "; set x $x; for v; do echo "|$v|"; done
|x|
$ IFS=": "; x=":"; set x $x; for v; do echo "|$v|"; done
|x|
||

function                                             old     new   delta
run_pipe                                            1789    1870     +81
expand_on_ifs                                        310     361     +51
pseudo_exec_argv                                     588     591      +3
builtin_local                                         50      53      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 138/0)             Total: 138 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix "$v" expansion in case patterns when v='[a]'</title>
<updated>2018-04-11T11:47:59+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-11T11:47:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=34179956f96370f5a53e73073d984d62135cd037'/>
<id>urn:sha1:34179956f96370f5a53e73073d984d62135cd037</id>
<content type='text'>
function                                             old     new   delta
run_list                                            1053    1063     +10
setup_redirects                                      311     320      +9
encode_then_expand_string                            135     142      +7
run_pipe                                            1784    1789      +5
expand_assignments                                    81      86      +5
expand_string_to_string                              124     125      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 6/0 up/down: 37/0)               Total: 37 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: parser: Allow newlines within parameter substitution</title>
<updated>2018-04-11T10:39:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-11T10:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=680c3016a2dddc3edb4d79868a728e899638e2c4'/>
<id>urn:sha1:680c3016a2dddc3edb4d79868a728e899638e2c4</id>
<content type='text'>
Upstream commit:

Date: Thu, 22 Mar 2018 21:41:24 +0800
parser: Allow newlines within parameter substitution

    On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote:
    &gt; On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote:
    &gt; &gt;
    &gt; &gt; Okay, it can be trivially modified to something that does work in other
    &gt; &gt; shells (even if it were actually executed), but gets rejected at parse time
    &gt; &gt; by dash:
    &gt; &gt;
    &gt; &gt;   if false; then
    &gt; &gt;     : ${$+
    &gt; &gt;   }
    &gt; &gt;   fi
    &gt;
    &gt; That's just a bug in dash's parser with ${} in general, because
    &gt; it bombs out without the if clause too:
    &gt;
    &gt; 	: ${$+
    &gt; 	}

    This patch fixes the parsing of newlines with parameter substitution.

    Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
