165
178
1.0.0. This is just a documentation update + a fix for minor Win32
166
179
build problems. For almost everyone, upgrading from 1.0.0 to 1.0.1 is
167
180
utterly pointless. Don't bother.
185
A bug fix release, addressing various minor issues which have appeared
186
in the 18 or so months since 1.0.1 was released. Most of the fixes
187
are to do with file-handling or documentation bugs. To the best of my
188
knowledge, there have been no data-loss-causing bugs reported in the
189
compression/decompression engine of 1.0.0 or 1.0.1.
191
Note that this release does not improve the rather crude build system
192
for Unix platforms. The general plan here is to autoconfiscate/
193
libtoolise 1.0.2 soon after release, and release the result as 1.1.0
194
or perhaps 1.2.0. That, however, is still just a plan at this point.
196
Here are the changes in 1.0.2. Bug-reporters and/or patch-senders in
199
* Fix an infinite segfault loop in 1.0.1 when a directory is
200
encountered in -f (force) mode.
201
(Trond Eivind Glomsrod, Nicholas Nethercote, Volker Schmidt)
203
* Avoid double fclose() of output file on certain I/O error paths.
206
* Don't fail with internal error 1007 when fed a long stream (> 48MB)
207
of byte 251. Also print useful message suggesting that 1007s may be
208
caused by bad memory.
209
(noticed by Juan Pedro Vallejo, fixed by me)
211
* Fix uninitialised variable silly bug in demo prog dlltest.c.
214
* Remove 512-MB limitation on recovered file size for bzip2recover
215
on selected platforms which support 64-bit ints. At the moment
216
all GCC supported platforms, and Win32.
217
(me, Alson van der Meulen)
219
* Hard-code header byte values, to give correct operation on platforms
220
using EBCDIC as their native character set (IBM's OS/390).
223
* Copy file access times correctly.
226
* Add distclean and check targets to Makefile.
229
* Parameterise use of ar and ranlib in Makefile. Also add $(LDFLAGS).
230
(Rich Ireland, Bo Thorsen)
232
* Pass -p (create parent dirs as needed) to mkdir during make install.
235
* Dereference symlinks when copying file permissions in -f mode.
238
* Majorly simplify implementation of uInt64_qrm10.
241
* Check the input file still exists before deleting the output one,
242
when aborting in cleanUpAndFail().
243
(Joerg Prante, Robert Linden, Matthias Krings)
245
Also a bunch of patches courtesy of Philippe Troin, the Debian maintainer
248
* Wrapper scripts (with manpages): bzdiff, bzgrep, bzmore.
250
* Spelling changes and minor enhancements in bzip2.1.
252
* Avoid race condition between creating the output file and setting its
253
interim permissions safely, by using fopen_output_safely().
254
No changes to bzip2recover since there is no issue with file
257
* do not print senseless report with -v when compressing an empty
260
* bzcat -f works on non-bzip2 files.
262
* do not try to escape shell meta-characters on unix (the shell takes
265
* added --fast and --best aliases for -1 -9 for gzip compatibility.
270
Fixes some minor bugs since the last version, 1.0.2.
272
* Further robustification against corrupted compressed data.
273
There are currently no known bitstreams which can cause the
274
decompressor to crash, loop or access memory which does not
275
belong to it. If you are using bzip2 or the library to
276
decompress bitstreams from untrusted sources, an upgrade
277
to 1.0.3 is recommended. This fixes CAN-2005-1260.
279
* The documentation has been converted to XML, from which html
280
and pdf can be derived.
282
* Various minor bugs in the documentation have been fixed.
284
* Fixes for various compilation warnings with newer versions of
285
gcc, and on 64-bit platforms.
287
* The BZ_NO_STDIO cpp symbol was not properly observed in 1.0.2.
293
Fixes some minor bugs since the last version, 1.0.3.
295
* Fix file permissions race problem (CAN-2005-0953).
297
* Avoid possible segfault in BZ2_bzclose. From Coverity's NetBSD
300
* 'const'/prototype cleanups in the C code.
302
* Change default install location to /usr/local, and handle multiple
303
'make install's without error.
305
* Sanitise file names more carefully in bzgrep. Fixes CAN-2005-0758
306
to the extent that applies to bzgrep.
308
* Use 'mktemp' rather than 'tempfile' in bzdiff.
310
* Tighten up a couple of assertions in blocksort.c following automated
313
* Fix minor doc/comment bugs.
318
Security fix only. Fixes CERT-FI 20469 as it applies to bzip2.