<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite, branch realpath</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=realpath</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=realpath'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2018-04-29T12:05:43+00:00</updated>
<entry>
<title>cat: fix cat -e and cat -v erroneously numbering 1st line</title>
<updated>2018-04-29T12:05:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-29T12:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d80eecb86812c1fbda652f9b995060c26ba0b155'/>
<id>urn:sha1:d80eecb86812c1fbda652f9b995060c26ba0b155</id>
<content type='text'>
function                                             old     new   delta
cat_main                                             418     421      +3

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>awk: do not allow $(-1)</title>
<updated>2018-04-23T08:53:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-23T08:53:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2454e678cb7d241097ee9ce4b2114a136f1b57ec'/>
<id>urn:sha1:2454e678cb7d241097ee9ce4b2114a136f1b57ec</id>
<content type='text'>
function                                             old     new   delta
EMSG_NEGATIVE_FIELD                                    -      25     +25
evaluate                                            3390    3403     +13
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 38/0)               Total: 38 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>unlzma: fix another SEGV case</title>
<updated>2018-04-19T17:30:51+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-19T17:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e09c426456cfd030cc868d93bbcb2e0a6933cabb'/>
<id>urn:sha1:e09c426456cfd030cc868d93bbcb2e0a6933cabb</id>
<content type='text'>
function                                             old     new   delta
unpack_lzma_stream                                  1705    1717     +12

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>testsuite: allow tests to work in paths containing spaces</title>
<updated>2018-04-09T18:35:48+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-02-09T09:52:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1f27fa98380c134cd0f5f03b4cd3dfe2e83c09b7'/>
<id>urn:sha1:1f27fa98380c134cd0f5f03b4cd3dfe2e83c09b7</id>
<content type='text'>
Tweak some tests so they work when the path to the test directory or
$HOME contains spaces.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>unlzma: fix segfault on bad archive</title>
<updated>2018-04-08T18:45:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-08T18:45:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a1870f4807a75663a085c9f5e92870fa7554f0ad'/>
<id>urn:sha1:a1870f4807a75663a085c9f5e92870fa7554f0ad</id>
<content type='text'>
function                                             old     new   delta
unpack_lzma_stream                                  2647    2653      +6

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>bzip2: fix two crashes on corrupted archives</title>
<updated>2018-04-08T18:05:04+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-08T18:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=38ccd6af8abbafff98d458a1c62909acfc09a514'/>
<id>urn:sha1:38ccd6af8abbafff98d458a1c62909acfc09a514</id>
<content type='text'>
As it turns out, longjmp'ing into freed stack is not healthy...

function                                             old     new   delta
unpack_usage_messages                                  -      97     +97
unpack_bz2_stream                                    369     409     +40
get_next_block                                      1667    1677     +10
get_bits                                             156     155      -1
start_bunzip                                         212     183     -29
bb_show_usage                                        181     120     -61
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/3 up/down: 147/-91)            Total: 56 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>grep: fix echo "aa" | busybox grep -F -w "a" (should not match)</title>
<updated>2018-03-29T16:03:50+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-03-29T16:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=03fd7e06f854d385070a6fc9714f445727c359cd'/>
<id>urn:sha1:03fd7e06f854d385070a6fc9714f445727c359cd</id>
<content type='text'>
function                                             old     new   delta
grep_file                                           1461    1470      +9

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>tar,unzip: postpone creation of symlinks with "suspicious" targets</title>
<updated>2018-02-20T15:06:53+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-02-20T14:57:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a84db18fc71d09e801df0ebca048d82e90b32c6a'/>
<id>urn:sha1:a84db18fc71d09e801df0ebca048d82e90b32c6a</id>
<content type='text'>
This mostly reverts commit bc9bbeb2b81001e8731cd2ae501c8fccc8d87cc7
"libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1"

Users report that it is somewhat too restrictive. See
https://bugs.busybox.net/show_bug.cgi?id=8411

In particular, this interferes with unpacking of busybox-based
filesystems with links like "sbin/applet" -&gt; "../bin/busybox".

The change is made smaller by deleting ARCHIVE_EXTRACT_QUIET flag -
it is unused since 2010, and removing conditionals on it
allows commonalizing some error message codes.

function                                             old     new   delta
create_or_remember_symlink                             -      94     +94
create_symlinks_from_list                              -      64     +64
tar_main                                            1002    1006      +4
unzip_main                                          2732    2724      -8
data_extract_all                                     984     891     -93
unsafe_symlink_target                                147       -    -147
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/2 up/down: 162/-248)          Total: -86 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>testsuite: update busybox and bzcat tests</title>
<updated>2018-02-12T14:32:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-02-09T09:01:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ecaec1dbecda67e5b740694878c0780eb4347d26'/>
<id>urn:sha1:ecaec1dbecda67e5b740694878c0780eb4347d26</id>
<content type='text'>
Test scripts that use CONFIG_* variables need to source .config.
Since this wasn't being done for busybox many tests were skipped.
As a result new failures due to changes in help output were missed.

Also remove some unnecessary echos in the bzcat script.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>awk: fix 'delete array[var--]' decrementing var twice</title>
<updated>2018-01-07T00:19:08+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-01-07T00:19:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6f4a785bd1bd0e6973b5c27b34b86655b1d7a602'/>
<id>urn:sha1:6f4a785bd1bd0e6973b5c27b34b86655b1d7a602</id>
<content type='text'>
function                                             old     new   delta
evaluate                                            3395    3390      -5

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