<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/include/bb_archive.h, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-02-10T13:49:25+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2026-02-10T13:49:25+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-02-10T13:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0e3015ddb8538f6329c59ed984a9c59bba3f376e'/>
<id>urn:sha1:0e3015ddb8538f6329c59ed984a9c59bba3f376e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tar: strip unsafe hardlink components - GNU tar does the same</title>
<updated>2026-01-29T11:01:56+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2026-01-29T10:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3fb6b31c716669e12f75a2accd31bb7685b1a1cb'/>
<id>urn:sha1:3fb6b31c716669e12f75a2accd31bb7685b1a1cb</id>
<content type='text'>
Defends against files like these (python reproducer):

import tarfile
ti = tarfile.TarInfo("leak_hosts")
ti.type = tarfile.LNKTYPE
ti.linkname = "/etc/hosts"  # or "../etc/hosts" or ".."
ti.size = 0
with tarfile.open("/tmp/hardlink.tar", "w") as t:
	t.addfile(ti)

function                                             old     new   delta
skip_unsafe_prefix                                     -     127    +127
get_header_tar                                      1752    1754      +2
.rodata                                           106861  106856      -5
unzip_main                                          2715    2706      -9
strip_unsafe_prefix                                  102      18     -84
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/3 up/down: 129/-98)            Total: 31 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge busybox into merge</title>
<updated>2021-12-27T08:21:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-12-27T08:21:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b15f68214da209b5b293039c09c00f490c0cc193'/>
<id>urn:sha1:b15f68214da209b5b293039c09c00f490c0cc193</id>
<content type='text'>
Fix merge conflict in coreutils/timeout.c.
</content>
</entry>
<entry>
<title>libarchive: remove duplicate forward declaration</title>
<updated>2021-11-28T09:53:22+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2021-11-28T09:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bfefa6ab6cf30507009cca7182c7302900fb5534'/>
<id>urn:sha1:bfefa6ab6cf30507009cca7182c7302900fb5534</id>
<content type='text'>
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-08-22T08:17:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-08-22T08:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=46c5767e7e39d1e173e382bda86ab88b4cad354d'/>
<id>urn:sha1:46c5767e7e39d1e173e382bda86ab88b4cad354d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tar,smemcap: commonalyze checksumming code for tar header</title>
<updated>2021-08-20T15:58:49+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-08-20T15:58:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=62d5a1e56f4022002c5c55e02d7d29e1e68bc236'/>
<id>urn:sha1:62d5a1e56f4022002c5c55e02d7d29e1e68bc236</id>
<content type='text'>
function                                             old     new   delta
chksum_and_xwrite_tar_header                           -      99     +99
writeheader                                          280     199     -81
chksum_and_xwrite                                    102       -    -102
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/1 up/down: 99/-183)           Total: -84 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libarchive: allow extraction of hard links</title>
<updated>2021-01-19T11:47:11+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-01-19T11:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=df81ab878f0b8124f3ead12d8299abec6ce5fac3'/>
<id>urn:sha1:df81ab878f0b8124f3ead12d8299abec6ce5fac3</id>
<content type='text'>
Allow create_or_remember_link() to create hardlinks.

As a result tar and cpio can now extract hard links.  Since unzip
only supports symlinks it sees no improvement.  As before, attempts
to extract symlinks result in a warning.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2019-05-27T10:56:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-05-27T10:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a61949401890cbb33a9d6c4571b51c53460ad438'/>
<id>urn:sha1:a61949401890cbb33a9d6c4571b51c53460ad438</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libarchive: treat one "FIXME: avoid seek"</title>
<updated>2019-05-24T15:03:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-05-24T15:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2'/>
<id>urn:sha1:dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2</id>
<content type='text'>
function                                             old     new   delta
xmalloc_read_with_initial_buf                          -     205    +205
setup_transformer_on_fd                              154     150      -4
xmalloc_open_zipped_read_close                       143     135      -8
xmalloc_read                                         201      10    -191
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 205/-203)            Total: 2 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libarchive: remove more symlink code</title>
<updated>2019-02-14T11:25:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-02-14T11:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6312c005522de47dcaf442f613065415bcbd8ef7'/>
<id>urn:sha1:6312c005522de47dcaf442f613065415bcbd8ef7</id>
<content type='text'>
Since symlinks aren't supported in busybox-w32 remove more of the
code that handles them.

Saves 64 bytes.
</content>
</entry>
</feed>
