X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;fp=ChangeLog;h=f1f25ab210301c783ce32d17c1457a7550d909f3;hb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;hp=6b61a98984c0a578fd0224f1f3b8b2c5ffe1e26a;hpb=c7e61475680fa226bd9b8bdd469cd66914e630f5;p=debian%2Fgzip diff --git a/ChangeLog b/ChangeLog index 6b61a98..f1f25ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,184 @@ +2010-01-20 Jim Meyering + + version 1.4 + * NEWS: Record release date. + + tests: exercise the segfault fix + * tests/helin-segv: New test. + * Makefile.am (TESTS): Add it. + + gzip -d: do not clobber stack for valid input on x86_64 + * unlzw.c (unlzw): Avoid integer overflow. + Aki Helin reported the segfault along with an input to trigger the bug. + * NEWS (Bug fixes): Mention it. + + maint: avoid a minor "make syntax-check" failure + * .x-sc_file_system: Exempt NEWS, since it includes a literal + from an old diagnostic. + + maint: remove unused file: README-alpha + * README-alpha: Remove unused file. + + build: update gnulib submodule to latest + +2010-01-11 Yuxi Zhang + + gzip -d: use memcpy more often + * inflate.c (inflate_codes): Use memcpy (rather than slower + memcopy-like code) in more cases. + +2010-01-11 Jim Meyering + + build: do not override gnulib-provided AM_CFLAGS options + Avoid a warning from automake: + lib/Makefile.am:24: AM_CFLAGS multiply defined in condition TRUE ... + lib/gnulib.mk:30: ... `AM_CFLAGS' previously defined here + lib/Makefile.am:20: `lib/gnulib.mk' included from here + + * lib/Makefile.am (AM_CFLAGS): Append $(WARN_CFLAGS) and + $(WERROR_CFLAGS), i.e., use "+=", not "=". + This was introduced via 2009-12-17 commit 0341fc22, + "build: with --enable-gcc-warnings, use -Werror", + but fortunately is not a bug, because the definition + it would have overridden was always empty. + + gzip -d would fail with a CRC error... + ...for some inputs, and some memcpy implementations. It is possible + that an offending input has to be compressed "from FAT filesystem + (MS-DOS, OS/2, NT)", since the sole reproducer no longer evokes a + CRC error when uncompressed and recompressed on a GNU/Linux system. + Also, using an unpatched reverse-memcpy-gzip on over 100,000 inputs + on a GNU/Linux system did not turn up another reproducer. + * inflate.c (inflate_codes): Don't call memcpy with overlapping regions. + Properly detect when source and destination overlap. + * tests/memcpy-abuse: New test, to trigger misbehavior. + * Makefile.am (TESTS): Add it. + * NEWS (Bug fixes): Mention it. + Reported by Alain Magloire in + http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/307 + +2010-01-08 Jim Meyering + + tests: switch to gnulib's init.sh test infrastructure + * tests/test-lib.sh: Remove file. + * tests/init.sh: New file, from gnulib. + * tests/trailing-nul: Use the new file. + * tests/zdiff: Likewise. + * tests/zgrep-f: Likewise. + * Makefile.am (EXTRA_DIST): List tests/init.sh, not test-lib.sh. + + build: update gnulib submodule to latest + +2010-01-03 Jim Meyering + + maint: record update-copyright options for this package + * cfg.mk: Next time, just run "make update-copyright". + +2010-01-01 Jim Meyering + + maint: update all FSF copyright year lists to include 2010 + Use this command: + git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ + env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright + +2009-12-31 Jim Meyering + + maint: newer gnulib; don't hard-code my GPG key ID + * cfg.mk (gpg_key_ID): Remove definition, now that maint.mk automates it. + * gnulib: Update to lastest. + +2009-12-30 Jim Meyering + + build: update gnulib submodule to latest + + maint: remove lots of obsolete #if...HAVE_* checks + Remove many always-true cpp tests like #ifdef HAVE_UNISTD_H, + #ifdef HAVE_FCNTL_H and #ifdef SSIZE_MAX. + * gzip.c: As above. + * gzip.h: Likewise. + * inflate.c: Likewise. + * tailor.h: Likewise. + * unlzw.c: Likewise. + * util.c: Likewise. + * zip.c: Likewise. + + build: add a syntax-check + * cfg.mk (sc_prohibit_obsolete_HAVE_HEADER_H): New rule. + + build: with --enable-gcc-warnings, use -Werror + * Makefile.am (AM_CFLAGS): Enable $(WERROR_CFLAGS). + * lib/Makefile.am (AM_CFLAGS): Enable both $(WARN_CFLAGS) and + $(WERROR_CFLAGS). + + build: quiet warnings from util.c + * configure.ac (warnings): Add -Wno-overflow and -Wno-type-limits. + + build: avoid warning about possibly-no-return functions + * gzip.h (read_error, write_error): Mark these functions as "no-return". + + build: avoid warning about ignored chown/fchown return value + * bootstrap.conf (gnulib_modules): Add ignore-value. + * gzip.c: Include "ignore-value.h". + (copy_stat): Explicitly ignore chown and fchown failure + + build: update gnulib submodule to latest + +2009-11-20 Jim Meyering + + build: unlzw.c: avoid warnings about unused macros + * configure.ac: Turn off -Wunused-macros. + + build: avoid warnings about unused macros + * unzip.c (LOCTIM): Comment out unused macro. + * deflate.c (EQUAL): Remove definition. Use "0" at sole point of use. + + build: util.c: avoid warnings about add_envopt + * util.c (add_envopt): The parameter "env" was used for two conflicting + purposes. One use required a const char* parameter, while the other + was used as an argument to free, which must not be "const". + Rename the parameter and use a new local variable for the second role. + + build: avoid many const-related warnings + * gzip.c: Add "const" to many variables, to avoid compiler warnings. + * util.c (add_envopt): Make 3rd parameter const + (gzip_error): Make sole parameter const. + * gzip.h: Update prototypes. + + build: avoid warnings from -Wstrict-prototypes + * gzip.c (main): Declare using a prototype. + (progerror): Likewise. And make parameter const. + + build: use gnulib's fdopendir module + * bootstrap.conf (gnulib_modules): Add fdopendir. + * gzip.c (treat_dir): Don't depend on HAVE_FDOPENDIR. + Gnulib now guarantees its availability. + * configure.ac: Don't check for fdopendir here. + + build: enable many warnings + * configure.ac: Add support for --enable-gcc-warnings. + * bootstrap.conf (gnulib_modules): Add manywarnings. + * Makefile.am (AM_CFLAGS): Add (WARN_CFLAGS) # $(WERROR_CFLAGS) + + maint: tweak formatting of bootstrap.conf + * bootstrap.conf (gnulib_modules): Unindent list. + + maint: cfg.mk: remove factored-out ftp host/dir definitions + * cfg.mk (gnu_ftp_host-alpha, gnu_ftp_host-beta gnu_ftp_host-stable): + (gnu_rel_host, url_dir_list): Remove definitions. The defaults, + now provided by maint.mk, are the same. + * gnulib: Update for latest, including those maint.mk additions. + + build: "make stable" emitted an invalid gnupload command + * cfg.mk (gnu_ftp_host-stable): Rename from gnu_ftp_host-major. + * README-release: Change another s/major/stable/. + 2009-10-30 Jim Meyering + post-release administrivia + * NEWS: Add header line for next release. + * .prev-version: Record previous version. + * cfg.mk (old_NEWS_hash): Auto-update. + version 1.3.14 * NEWS: Record release date.