<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/busybox/archival/libarchive/unxz, branch master</title>
<subtitle>Busybox tree with Carbs Linux patches
</subtitle>
<id>https://git.carbslinux.org/forks/busybox/atom?h=master</id>
<link rel='self' href='https://git.carbslinux.org/forks/busybox/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/'/>
<updated>2019-10-11T12:11:44+00:00</updated>
<entry>
<title>dpkg-deb: work around bogus error message when working with XZ compressed packages</title>
<updated>2019-10-11T12:11:44+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-10-11T12:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=42f454b13b8d972e85acd7f046065ec69af4d206'/>
<id>urn:sha1:42f454b13b8d972e85acd7f046065ec69af4d206</id>
<content type='text'>
function                                             old     new   delta
unpack_xz_stream                                    2309    2317      +8
bb_full_fd_action                                    464     472      +8

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Spelling fixes in comments, documentation, tests and examples</title>
<updated>2017-04-17T14:13:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-04-17T14:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=10ad622dc2a9fb6563fab13719ead8baf15ff9e4'/>
<id>urn:sha1:10ad622dc2a9fb6563fab13719ead8baf15ff9e4</id>
<content type='text'>
By klemens &lt;ka7@github.com&gt;

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Removes stray empty line from code</title>
<updated>2015-07-13T01:25:46+00:00</updated>
<author>
<name>Maninder Singh</name>
<email>maninder1.s@samsung.com</email>
</author>
<published>2015-06-10T03:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=97f2f7ca7fe10783a592087df989a7f394492fa1'/>
<id>urn:sha1:97f2f7ca7fe10783a592087df989a7f394492fa1</id>
<content type='text'>
This patch removes stray empty line from busybox code
reported by script find_stray_empty_lines

Signed-off-by: Maninder Singh &lt;maninder1.s@samsung.com&gt;
Signed-off-by: Akhilesh Kumar &lt;akhilesh.k@samsung.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xz: mention xzminidec.c in README</title>
<updated>2013-02-27T15:41:36+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=433757413f55986681f29ab1335e514e9f0c8423'/>
<id>urn:sha1:433757413f55986681f29ab1335e514e9f0c8423</id>
<content type='text'>
Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xz: fix incorrect XZ_BUF_ERROR</title>
<updated>2013-02-27T15:39:56+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=c3045edec221876596fe910901191720d8f55986'/>
<id>urn:sha1:c3045edec221876596fe910901191720d8f55986</id>
<content type='text'>
xz_dec_run() could incorrectly return XZ_BUF_ERROR if
all of the following was true:

  - The caller knows how many bytes of output to expect
    and only provides that much output space.

  - When the last output bytes are decoded, the
    caller-provided input buffer ends right before
    the LZMA2 end of payload marker. So LZMA2 won't
    provide more output anymore, but it won't know it
    yet and thus won't return XZ_STREAM_END yet.

  - A BCJ filter is in use and it hasn't left any
    unfiltered bytes in the temp buffer. This can happen
    with any BCJ filter, but in practice it's more likely
    with filters other than the x86 BCJ.

This fixes &lt;https://bugzilla.redhat.com/show_bug.cgi?id=735408&gt;
where Squashfs thinks that a valid file system is corrupt.
Thanks to Jindrich Novy for telling me that such a bug report
exists, Phillip Lougher for providing excellent debug info,
and other people on #fedora-ppc.

This also fixes a similar bug in single-call mode where the
uncompressed size of a XZ Block using BCJ + LZMA2 was 0 bytes
and caller provided no output space. Many empty .xz files
don't contain any Blocks and thus don't trigger this bug.

This also tweaks a closely related detail: xz_dec_bcj_run()
could call xz_dec_lzma2_run() to decode into temp buffer when
it was known to be useless. This was harmless although it
wasted a minuscule number of CPU cycles.

Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xz: fix decoding of LZMA2 streams having no uncompressed data.</title>
<updated>2013-02-27T15:38:06+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:38:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=a1ae2b75a71b4b99948aa0f9a15cf1de52bb40d6'/>
<id>urn:sha1:a1ae2b75a71b4b99948aa0f9a15cf1de52bb40d6</id>
<content type='text'>
No .xz encoder creates files with empty LZMA2 streams,
but such files would still be valid and decompressors
must accept them.

Note that empty .xz files are a different thing than
empty LZMA2 streams. This bug didn't affect typical .xz
files that had no uncompressed data.

Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>cz: add C++ support to xz.h</title>
<updated>2013-02-27T15:37:18+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=efb800439fd29382404fe8044774903b3b52db3f'/>
<id>urn:sha1:efb800439fd29382404fe8044774903b3b52db3f</id>
<content type='text'>
Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xz: remove an empty line from xz_dec_lzma2.c</title>
<updated>2013-02-27T15:36:17+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=aada3126a795d9ff406aa3029aee44019d7c0450'/>
<id>urn:sha1:aada3126a795d9ff406aa3029aee44019d7c0450</id>
<content type='text'>
Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xz: make bcj_x86_test_msbyte() an inline function</title>
<updated>2013-02-27T15:34:06+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:34:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=b967e42b772841fad6c0d4678811efcad218cadd'/>
<id>urn:sha1:b967e42b772841fad6c0d4678811efcad218cadd</id>
<content type='text'>
Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>xz: add a comment about using uint32_t as vli_type</title>
<updated>2013-02-27T15:32:03+00:00</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2013-02-27T15:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=18714d8460f800476011d83bb956f4457f332acf'/>
<id>urn:sha1:18714d8460f800476011d83bb956f4457f332acf</id>
<content type='text'>
Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
