<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bzip2, branch bzip2-1.0.8</title>
<subtitle>A mirror of https://sourceware.org/git/bzip2.git
</subtitle>
<id>https://git.lua4.win/bzip2/atom?h=bzip2-1.0.8</id>
<link rel='self' href='https://git.lua4.win/bzip2/atom?h=bzip2-1.0.8'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/'/>
<updated>2019-07-13T15:17:58+00:00</updated>
<entry>
<title>Prepare for 1.0.8 release.</title>
<updated>2019-07-13T15:17:58+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-13T15:17:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=6a8690fc8d26c815e798c588f796eabe9d684cf0'/>
<id>urn:sha1:6a8690fc8d26c815e798c588f796eabe9d684cf0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>prepare-release.sh: Fix bz-lifespan typo.</title>
<updated>2019-07-13T15:06:25+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-13T15:06:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=1c8dd8698c1c84c39c25d950edf6aec4eca70901'/>
<id>urn:sha1:1c8dd8698c1c84c39c25d950edf6aec4eca70901</id>
<content type='text'>
</content>
</entry>
<entry>
<title>manual: Add id to legalnotice.</title>
<updated>2019-07-11T23:50:11+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-11T18:05:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=48e4d87489c1e8ba6c77b7ed6217eb3c9ea519bc'/>
<id>urn:sha1:48e4d87489c1e8ba6c77b7ed6217eb3c9ea519bc</id>
<content type='text'>
Otherwise the generated HTML will have a different randomly generated
name id which generates spurious diffs.
</content>
</entry>
<entry>
<title>Fix bzgrep so it doesn't always return a 0 exit code with multiple archives</title>
<updated>2019-07-11T23:15:40+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-11T23:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=d0b47bde0e2f5bae7502ca55b80ab006523db820'/>
<id>urn:sha1:d0b47bde0e2f5bae7502ca55b80ab006523db820</id>
<content type='text'>
The bzgrep wrapper always returns 0 as exit code when working on
multiple archives, even when the pattern is not found.

Fix from openSUSE by Kristýna Streitová &lt;kstreitova@suse.com&gt;
https://bugzilla.suse.com/970260
</content>
</entry>
<entry>
<title>Fix bashism in bzgrep</title>
<updated>2019-07-11T22:50:54+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-11T22:50:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=33414da1d2bedf2cbe693f0e21fdaef11d221b1d'/>
<id>urn:sha1:33414da1d2bedf2cbe693f0e21fdaef11d221b1d</id>
<content type='text'>
bzgrep uses ${var//} which is a bashism.
Replace by calling sed so other POSIX shells work.

Patch from openSUSE by Led &lt;ledest@gmail.com&gt;
</content>
</entry>
<entry>
<title>fix bzdiff when TMPDIR contains spaces</title>
<updated>2019-07-11T21:24:29+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-11T21:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=f7d209bfde37cf337f769531f9c7a29b8bb6ae7f'/>
<id>urn:sha1:f7d209bfde37cf337f769531f9c7a29b8bb6ae7f</id>
<content type='text'>
The bzdiff script doesn't contain enough quotes, so that it doesn't
work if the TMPDIR environment variable is defined and contains
spaces.

https://bugs.debian.org/493710
Author: Vincent Lefevre &lt;vincent@vinc17.org&gt;
</content>
</entry>
<entry>
<title>Replace project contact email with bzip2-devel@sourceware.org.</title>
<updated>2019-07-11T17:54:46+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-11T17:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=d50cc4b0e700f8f8285b02d28db595e805e3b627'/>
<id>urn:sha1:d50cc4b0e700f8f8285b02d28db595e805e3b627</id>
<content type='text'>
Keep Julian's email as author information, but redirect general
project feedback in the code and manual to the community mailinglist.
</content>
</entry>
<entry>
<title>release-update.sh should update version number in website pages too.</title>
<updated>2019-07-11T00:40:18+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-11T00:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=04e979201daffd511826ed1c196c9f5fe7d14a89'/>
<id>urn:sha1:04e979201daffd511826ed1c196c9f5fe7d14a89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Accept as many selectors as the file format allows.</title>
<updated>2019-07-09T21:29:44+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2019-07-02T23:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=b07b105d1b66e32760095e3602261738443b9e13'/>
<id>urn:sha1:b07b105d1b66e32760095e3602261738443b9e13</id>
<content type='text'>
But ignore any larger than the theoretical maximum, BZ_MAX_SELECTORS.

The theoretical maximum number of selectors depends on the maximum
blocksize (900000 bytes) and the number of symbols (50) that can be
encoded with a different Huffman tree. BZ_MAX_SELECTORS is 18002.

But the bzip2 file format allows the number of selectors to be encoded
with 15 bits (because 18002 isn't a factor of 2 and doesn't fit in
14 bits). So the file format maximum is 32767 selectors.

Some bzip2 encoders might actually have written out more selectors
than the theoretical maximum because they rounded up the number of
selectors to some convenient factor of 8.

The extra 14766 selectors can never be validly used by the decompression
algorithm. So we can read them, but then discard them.

This is effectively what was done (by accident) before we added a
check for nSelectors to be at most BZ_MAX_SELECTORS to mitigate
CVE-2019-12900.

The extra selectors were written out after the array inside the
EState struct. But the struct has extra space allocated after the
selector arrays of 18060 bytes (which is larger than 14766).
All of which will be initialized later (so the overwrite of that
space with extra selector values would have been harmless).
</content>
</entry>
<entry>
<title>Fix a 'not a normal file' error when compressing large files.</title>
<updated>2019-07-09T21:01:34+00:00</updated>
<author>
<name>Phil Ross</name>
<email>phil.ross@gmail.com</email>
</author>
<published>2019-05-21T19:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/bzip2/commit/?id=13d8bce0393ca21cbca1e8ba7692466a64fd46dd'/>
<id>urn:sha1:13d8bce0393ca21cbca1e8ba7692466a64fd46dd</id>
<content type='text'>
The bzip2 command line would report 'not a normal file' for files of
size larger than 2^32 - 1 bytes.

Patch bzip2.c to use _stati64 instead of _stat so that a successful
result is returned for large files.

Resolves https://github.com/philr/bzip2-windows/issues/3.
</content>
</entry>
</feed>
