Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/ZLIB]: src/common/dist/zlib Import zlib-1.2.13, previous was 1.2.10
details: https://anonhg.NetBSD.org/src/rev/8161536d2025
branches: ZLIB
changeset: 371892:8161536d2025
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 15 19:38:37 2022 +0000
description:
Import zlib-1.2.13, previous was 1.2.10
Changes in 1.2.13 (13 Oct 2022)
- Fix configure issue that discarded provided CC definition
- Correct incorrect inputs provided to the CRC functions
- Repair prototypes and exporting of new CRC functions
- Fix inflateBack to detect invalid input with distances too far
- Have infback() deliver all of the available output up to any error
- Fix a bug when getting a gzip header extra field with inflate()
- Fix bug in block type selection when Z_FIXED used
- Tighten deflateBound bounds
- Remove deleted assembler code references
- Various portability and appearance improvements
Changes in 1.2.12 (27 Mar 2022)
- Cygwin does not have _wopen(), so do not create gzopen_w() there
- Permit a deflateParams() parameter change as soon as possible
- Limit hash table inserts after switch from stored deflate
- Fix bug when window full in deflate_stored()
- Fix CLEAR_HASH macro to be usable as a single statement
- Avoid a conversion error in gzseek when off_t type too small
- Have Makefile return non-zero error code on test failure
- Avoid some conversion warnings in gzread.c and gzwrite.c
- Update use of errno for newer Windows CE versions
- Small speedup to inflate [psumbera]
- Return an error if the gzputs string length can't fit in an int
- Add address checking in clang to -w option of configure
- Don't compute check value for raw inflate if asked to validate
- Handle case where inflateSync used when header never processed
- Avoid the use of ptrdiff_t
- Avoid an undefined behavior of memcpy() in gzappend()
- Avoid undefined behaviors of memcpy() in gz*printf()
- Avoid an undefined behavior of memcpy() in _tr_stored_block()
- Make the names in functions declarations identical to definitions
- Remove old assembler code in which bugs have manifested
- Fix deflateEnd() to not report an error at start of raw deflate
- Add legal disclaimer to README
- Emphasize the need to continue decompressing gzip members
- Correct the initialization requirements for deflateInit2()
- Fix a bug that can crash deflate on some input when using Z_FIXED
- Assure that the number of bits for deflatePrime() is valid
- Use a structure to make globals in enough.c evident
- Use a macro for the printf format of big_t in enough.c
- Clean up code style in enough.c, update version
- Use inline function instead of macro for index in enough.c
- Clarify that prefix codes are counted in enough.c
- Show all the codes for the maximum tables size in enough.c
- Add gznorm.c example, which normalizes gzip files
- Fix the zran.c example to work on a multiple-member gzip file
- Add tables for crc32_combine(), to speed it up by a factor of 200
- Add crc32_combine_gen() and crc32_combine_op() for fast combines
- Speed up software CRC-32 computation by a factor of 1.5 to 3
- Use atomic test and set, if available, for dynamic CRC tables
- Don't bother computing check value after successful inflateSync()
- Correct comment in crc32.c
- Add use of the ARMv8 crc32 instructions when requested
- Use ARM crc32 instructions if the ARM architecture has them
- Explicitly note that the 32-bit check values are 32 bits
- Avoid adding empty gzip member after gzflush with Z_FINISH
- Fix memory leak on error in gzlog.c
- Fix error in comment on the polynomial representation of a byte
- Clarify gz* function interfaces, referring to parameter names
- Change macro name in inflate.c to avoid collision in VxWorks
- Correct typo in blast.c
- Improve portability of contrib/minizip
- Fix indentation in minizip's zip.c
- Replace black/white with allow/block. (theresa-m)
- minizip warning fix if MAXU32 already defined. (gvollant)
- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
- Clean up minizip to reduce warnings for testing
- Add fallthrough comments for gcc
- Eliminate use of ULL constants
- Separate out address sanitizing from warnings in configure
- Remove destructive aspects of make distclean
- Check for cc masquerading as gcc or clang in configure
- Fix crc32.c to compile local functions only if used
Changes in 1.2.11 (15 Jan 2017)
- Fix deflate stored bug when pulling last block from window
- Permit immediate deflateParams changes before any deflate input
diffstat:
common/dist/zlib/CMakeLists.txt | 42 +-
common/dist/zlib/ChangeLog | 189 +-
common/dist/zlib/LICENSE | 22 +
common/dist/zlib/Makefile.in | 38 +-
common/dist/zlib/README | 11 +-
common/dist/zlib/compress.c | 8 +-
common/dist/zlib/configure | 143 +-
common/dist/zlib/contrib/README.contrib | 23 +-
common/dist/zlib/contrib/blast/blast.h | 2 +-
common/dist/zlib/contrib/delphi/ZLib.pas | 2 +-
common/dist/zlib/contrib/dotzlib/DotZLib/UnitTests.cs | 2 +-
common/dist/zlib/contrib/infback9/inftree9.c | 6 +-
common/dist/zlib/contrib/infback9/inftree9.h | 2 +-
common/dist/zlib/contrib/minizip/Makefile | 12 +-
common/dist/zlib/contrib/minizip/configure.ac | 2 +-
common/dist/zlib/contrib/minizip/crypt.h | 19 +-
common/dist/zlib/contrib/minizip/ioapi.c | 18 +-
common/dist/zlib/contrib/minizip/ioapi.h | 10 +-
common/dist/zlib/contrib/minizip/iowin32.c | 5 +
common/dist/zlib/contrib/minizip/miniunz.c | 37 +-
common/dist/zlib/contrib/minizip/minizip.c | 47 +-
common/dist/zlib/contrib/minizip/unzip.c | 35 +-
common/dist/zlib/contrib/minizip/unzip.h | 12 +-
common/dist/zlib/contrib/minizip/zip.c | 43 +-
common/dist/zlib/contrib/minizip/zip.h | 17 +-
common/dist/zlib/contrib/pascal/zlibpas.pas | 2 +-
common/dist/zlib/contrib/puff/README | 2 +-
common/dist/zlib/contrib/puff/puff.c | 4 +-
common/dist/zlib/contrib/puff/pufftest.c | 2 +-
common/dist/zlib/contrib/vstudio/readme.txt | 5 +-
common/dist/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters | 2 +-
common/dist/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters | 2 +-
common/dist/zlib/contrib/vstudio/vc10/testzlib.vcxproj | 24 +-
common/dist/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters | 5 +-
common/dist/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters | 2 +-
common/dist/zlib/contrib/vstudio/vc10/zlib.rc | 8 +-
common/dist/zlib/contrib/vstudio/vc10/zlibstat.vcxproj | 50 +-
common/dist/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters | 3 -
common/dist/zlib/contrib/vstudio/vc10/zlibvc.def | 5 +
common/dist/zlib/contrib/vstudio/vc10/zlibvc.vcxproj | 58 +-
common/dist/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters | 3 -
common/dist/zlib/contrib/vstudio/vc11/testzlib.vcxproj | 24 +-
common/dist/zlib/contrib/vstudio/vc11/zlib.rc | 8 +-
common/dist/zlib/contrib/vstudio/vc11/zlibstat.vcxproj | 34 +-
common/dist/zlib/contrib/vstudio/vc11/zlibvc.def | 5 +
common/dist/zlib/contrib/vstudio/vc11/zlibvc.vcxproj | 58 +-
common/dist/zlib/contrib/vstudio/vc12/testzlib.vcxproj | 24 +-
common/dist/zlib/contrib/vstudio/vc12/zlib.rc | 8 +-
common/dist/zlib/contrib/vstudio/vc12/zlibstat.vcxproj | 34 +-
common/dist/zlib/contrib/vstudio/vc12/zlibvc.def | 5 +
common/dist/zlib/contrib/vstudio/vc12/zlibvc.vcxproj | 58 +-
common/dist/zlib/contrib/vstudio/vc14/testzlib.vcxproj | 24 +-
common/dist/zlib/contrib/vstudio/vc14/zlib.rc | 8 +-
common/dist/zlib/contrib/vstudio/vc14/zlibstat.vcxproj | 34 +-
common/dist/zlib/contrib/vstudio/vc14/zlibvc.def | 5 +
common/dist/zlib/contrib/vstudio/vc14/zlibvc.vcxproj | 58 +-
common/dist/zlib/contrib/vstudio/vc9/miniunz.vcproj | 2 +-
common/dist/zlib/contrib/vstudio/vc9/minizip.vcproj | 2 +-
common/dist/zlib/contrib/vstudio/vc9/testzlib.vcproj | 66 +-
common/dist/zlib/contrib/vstudio/vc9/testzlibdll.vcproj | 2 +-
common/dist/zlib/contrib/vstudio/vc9/zlib.rc | 8 +-
common/dist/zlib/contrib/vstudio/vc9/zlibstat.vcproj | 76 +-
common/dist/zlib/contrib/vstudio/vc9/zlibvc.def | 5 +
common/dist/zlib/contrib/vstudio/vc9/zlibvc.vcproj | 82 +-
common/dist/zlib/crc32.c | 1305 +-
common/dist/zlib/crc32.h | 9877 +++++++++-
common/dist/zlib/deflate.c | 329 +-
common/dist/zlib/deflate.h | 29 +-
common/dist/zlib/doc/crc-doc.1.0.pdf | Bin
common/dist/zlib/doc/txtvsbin.txt | 12 +-
common/dist/zlib/examples/README.examples | 5 +
common/dist/zlib/examples/enough.c | 743 +-
common/dist/zlib/examples/fitblk.c | 4 +-
common/dist/zlib/examples/gun.c | 2 +-
common/dist/zlib/examples/gzappend.c | 6 +-
common/dist/zlib/examples/gzlog.c | 6 +-
common/dist/zlib/examples/gzlog.h | 2 +-
common/dist/zlib/examples/gznorm.c | 470 +
common/dist/zlib/examples/zran.c | 258 +-
common/dist/zlib/examples/zran.h | 40 +
common/dist/zlib/gzguts.h | 5 +-
common/dist/zlib/gzlib.c | 10 +-
common/dist/zlib/gzread.c | 20 +-
common/dist/zlib/gzwrite.c | 40 +-
common/dist/zlib/infback.c | 20 +-
common/dist/zlib/inffast.c | 30 +-
common/dist/zlib/inflate.c | 54 +-
common/dist/zlib/inflate.h | 5 +-
common/dist/zlib/inftrees.c | 6 +-
common/dist/zlib/inftrees.h | 2 +-
common/dist/zlib/make_vms.com | 4 +-
common/dist/zlib/os400/README400 | 6 +-
common/dist/zlib/os400/bndsrc | 8 +
common/dist/zlib/os400/make.sh | 2 +-
common/dist/zlib/os400/zlib.inc | 6 +-
common/dist/zlib/qnx/package.qpg | 10 +-
common/dist/zlib/test/example.c | 10 +-
common/dist/zlib/test/minigzip.c | 4 +-
common/dist/zlib/treebuild.xml | 4 +-
common/dist/zlib/trees.c | 196 +-
common/dist/zlib/uncompr.c | 6 +-
common/dist/zlib/win32/Makefile.bor | 1 -
common/dist/zlib/win32/Makefile.gcc | 5 -
common/dist/zlib/win32/Makefile.msc | 6 +-
common/dist/zlib/win32/README-WIN32.txt | 6 +-
common/dist/zlib/win32/VisualC.txt | 2 +-
common/dist/zlib/win32/zlib.def | 3 +
common/dist/zlib/win32/zlib1.rc | 2 +-
common/dist/zlib/zconf.h | 21 +-
common/dist/zlib/zconf.h.cmakein | 21 +-
common/dist/zlib/zconf.h.in | 21 +-
common/dist/zlib/zlib.3 | 6 +-
common/dist/zlib/zlib.3.pdf | Bin
common/dist/zlib/zlib.h | 234 +-
common/dist/zlib/zlib.map | 6 +
common/dist/zlib/zlib2ansi | 4 +-
common/dist/zlib/zutil.c | 24 +-
common/dist/zlib/zutil.h | 24 +-
118 files changed, 12838 insertions(+), 2638 deletions(-)
diffs (truncated from 21502 to 300 lines):
diff -r 3700e42131e5 -r 8161536d2025 common/dist/zlib/CMakeLists.txt
--- a/common/dist/zlib/CMakeLists.txt Tue Jan 10 00:25:29 2017 +0000
+++ b/common/dist/zlib/CMakeLists.txt Sat Oct 15 19:38:37 2022 +0000
@@ -3,10 +3,7 @@
project(zlib C)
-set(VERSION "1.2.10")
-
-option(ASM686 "Enable building i686 assembly implementation")
-option(AMD64 "Enable building amd64 assembly implementation")
+set(VERSION "1.2.13")
set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for executables")
set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
@@ -129,39 +126,6 @@
)
endif()
-if(CMAKE_COMPILER_IS_GNUCC)
- if(ASM686)
- set(ZLIB_ASMS contrib/asm686/match.S)
- elseif (AMD64)
- set(ZLIB_ASMS contrib/amd64/amd64-match.S)
- endif ()
-
- if(ZLIB_ASMS)
- add_definitions(-DASMV)
- set_source_files_properties(${ZLIB_ASMS} PROPERTIES LANGUAGE C COMPILE_FLAGS -DNO_UNDERLINE)
- endif()
-endif()
-
-if(MSVC)
- if(ASM686)
- ENABLE_LANGUAGE(ASM_MASM)
- set(ZLIB_ASMS
- contrib/masmx86/inffas32.asm
- contrib/masmx86/match686.asm
- )
- elseif (AMD64)
- ENABLE_LANGUAGE(ASM_MASM)
- set(ZLIB_ASMS
- contrib/masmx64/gvmat64.asm
- contrib/masmx64/inffasx64.asm
- )
- endif()
-
- if(ZLIB_ASMS)
- add_definitions(-DASMV -DASMINF)
- endif()
-endif()
-
# parse the full version number from zlib.h and include in ZLIB_FULL_VERSION
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/zlib.h _zlib_h_contents)
string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([-0-9A-Za-z.]+)\".*"
@@ -183,8 +147,8 @@
set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
endif(MINGW)
-add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
-add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
+add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
+add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
set_target_properties(zlib PROPERTIES SOVERSION 1)
diff -r 3700e42131e5 -r 8161536d2025 common/dist/zlib/ChangeLog
--- a/common/dist/zlib/ChangeLog Tue Jan 10 00:25:29 2017 +0000
+++ b/common/dist/zlib/ChangeLog Sat Oct 15 19:38:37 2022 +0000
@@ -1,6 +1,85 @@
ChangeLog file for zlib
+Changes in 1.2.13 (13 Oct 2022)
+- Fix configure issue that discarded provided CC definition
+- Correct incorrect inputs provided to the CRC functions
+- Repair prototypes and exporting of new CRC functions
+- Fix inflateBack to detect invalid input with distances too far
+- Have infback() deliver all of the available output up to any error
+- Fix a bug when getting a gzip header extra field with inflate()
+- Fix bug in block type selection when Z_FIXED used
+- Tighten deflateBound bounds
+- Remove deleted assembler code references
+- Various portability and appearance improvements
+
+Changes in 1.2.12 (27 Mar 2022)
+- Cygwin does not have _wopen(), so do not create gzopen_w() there
+- Permit a deflateParams() parameter change as soon as possible
+- Limit hash table inserts after switch from stored deflate
+- Fix bug when window full in deflate_stored()
+- Fix CLEAR_HASH macro to be usable as a single statement
+- Avoid a conversion error in gzseek when off_t type too small
+- Have Makefile return non-zero error code on test failure
+- Avoid some conversion warnings in gzread.c and gzwrite.c
+- Update use of errno for newer Windows CE versions
+- Small speedup to inflate [psumbera]
+- Return an error if the gzputs string length can't fit in an int
+- Add address checking in clang to -w option of configure
+- Don't compute check value for raw inflate if asked to validate
+- Handle case where inflateSync used when header never processed
+- Avoid the use of ptrdiff_t
+- Avoid an undefined behavior of memcpy() in gzappend()
+- Avoid undefined behaviors of memcpy() in gz*printf()
+- Avoid an undefined behavior of memcpy() in _tr_stored_block()
+- Make the names in functions declarations identical to definitions
+- Remove old assembler code in which bugs have manifested
+- Fix deflateEnd() to not report an error at start of raw deflate
+- Add legal disclaimer to README
+- Emphasize the need to continue decompressing gzip members
+- Correct the initialization requirements for deflateInit2()
+- Fix a bug that can crash deflate on some input when using Z_FIXED
+- Assure that the number of bits for deflatePrime() is valid
+- Use a structure to make globals in enough.c evident
+- Use a macro for the printf format of big_t in enough.c
+- Clean up code style in enough.c, update version
+- Use inline function instead of macro for index in enough.c
+- Clarify that prefix codes are counted in enough.c
+- Show all the codes for the maximum tables size in enough.c
+- Add gznorm.c example, which normalizes gzip files
+- Fix the zran.c example to work on a multiple-member gzip file
+- Add tables for crc32_combine(), to speed it up by a factor of 200
+- Add crc32_combine_gen() and crc32_combine_op() for fast combines
+- Speed up software CRC-32 computation by a factor of 1.5 to 3
+- Use atomic test and set, if available, for dynamic CRC tables
+- Don't bother computing check value after successful inflateSync()
+- Correct comment in crc32.c
+- Add use of the ARMv8 crc32 instructions when requested
+- Use ARM crc32 instructions if the ARM architecture has them
+- Explicitly note that the 32-bit check values are 32 bits
+- Avoid adding empty gzip member after gzflush with Z_FINISH
+- Fix memory leak on error in gzlog.c
+- Fix error in comment on the polynomial representation of a byte
+- Clarify gz* function interfaces, referring to parameter names
+- Change macro name in inflate.c to avoid collision in VxWorks
+- Correct typo in blast.c
+- Improve portability of contrib/minizip
+- Fix indentation in minizip's zip.c
+- Replace black/white with allow/block. (theresa-m)
+- minizip warning fix if MAXU32 already defined. (gvollant)
+- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
+- Clean up minizip to reduce warnings for testing
+- Add fallthrough comments for gcc
+- Eliminate use of ULL constants
+- Separate out address sanitizing from warnings in configure
+- Remove destructive aspects of make distclean
+- Check for cc masquerading as gcc or clang in configure
+- Fix crc32.c to compile local functions only if used
+
+Changes in 1.2.11 (15 Jan 2017)
+- Fix deflate stored bug when pulling last block from window
+- Permit immediate deflateParams changes before any deflate input
+
Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
@@ -92,7 +171,7 @@
- Fix types in contrib/minizip to match result of get_crc_table()
- Simplify contrib/vstudio/vc10 with 'd' suffix
- Add TOP support to win32/Makefile.msc
-- Suport i686 and amd64 assembler builds in CMakeLists.txt
+- Support i686 and amd64 assembler builds in CMakeLists.txt
- Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h
- Add vc11 and vc12 build files to contrib/vstudio
- Add gzvprintf() as an undocumented function in zlib
@@ -292,14 +371,14 @@
- Use u4 type for crc_table to avoid conversion warnings
- Apply casts in zlib.h to avoid conversion warnings
- Add OF to prototypes for adler32_combine_ and crc32_combine_ [Miller]
-- Improve inflateSync() documentation to note indeterminancy
+- Improve inflateSync() documentation to note indeterminacy
- Add deflatePending() function to return the amount of pending output
- Correct the spelling of "specification" in FAQ [Randers-Pehrson]
- Add a check in configure for stdarg.h, use for gzprintf()
- Check that pointers fit in ints when gzprint() compiled old style
- Add dummy name before $(SHAREDLIBV) in Makefile [Bar-Lev, Bowler]
- Delete line in configure that adds -L. libz.a to LDFLAGS [Weigelt]
-- Add debug records in assmebler code [Londer]
+- Add debug records in assembler code [Londer]
- Update RFC references to use http://tools.ietf.org/html/... [Li]
- Add --archs option, use of libtool to configure for Mac OS X [Borstel]
@@ -507,7 +586,7 @@
- Don't use _vsnprintf on later versions of MSVC [Lowman]
- Add CMake build script and input file [Lowman]
- Update contrib/minizip to 1.1 [Svensson, Vollant]
-- Moved nintendods directory from contrib to .
+- Moved nintendods directory from contrib to root
- Replace gzio.c with a new set of routines with the same functionality
- Add gzbuffer(), gzoffset(), gzclose_r(), gzclose_w() as part of above
- Update contrib/minizip to 1.1b
@@ -681,7 +760,7 @@
- Be more strict on incomplete code sets in inflate_table() and increase
ENOUGH and MAXD -- this repairs a possible security vulnerability for
invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for
- discovering the vulnerability and providing test cases.
+ discovering the vulnerability and providing test cases
- Add ia64 support to configure for HP-UX [Smith]
- Add error return to gzread() for format or i/o error [Levin]
- Use malloc.h for OS/2 [Necasek]
@@ -717,7 +796,7 @@
- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
- Add updated make_vms.com [Coghlan], update README
- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
- fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
+ fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html
- Add FAQ entry and comments in deflate.c on uninitialized memory access
- Add Solaris 9 make options in configure [Gilbert]
- Allow strerror() usage in gzio.c for STDC
@@ -788,7 +867,7 @@
- Fix a big fat bug in inftrees.c that prevented decoding valid
dynamic blocks with only literals and no distance codes --
Thanks to "Hot Emu" for the bug report and sample file
-- Add a note to puff.c on no distance codes case.
+- Add a note to puff.c on no distance codes case
Changes in 1.2.1 (17 November 2003)
- Remove a tab in contrib/gzappend/gzappend.c
@@ -966,7 +1045,7 @@
- Include additional header file on VMS for off_t typedef
- Try to use _vsnprintf where it supplants vsprintf [Vollant]
- Add some casts in inffast.c
-- Enchance comments in zlib.h on what happens if gzprintf() tries to
+- Enhance comments in zlib.h on what happens if gzprintf() tries to
write more than 4095 bytes before compression
- Remove unused state from inflateBackEnd()
- Remove exit(0) from minigzip.c, example.c
@@ -1032,14 +1111,14 @@
- Add contrib/puff/ simple inflate for deflate format description
Changes in 1.1.4 (11 March 2002)
-- ZFREE was repeated on same allocation on some error conditions.
+- ZFREE was repeated on same allocation on some error conditions
This creates a security problem described in
http://www.zlib.org/advisory-2002-03-11.txt
- Returned incorrect error (Z_MEM_ERROR) on some invalid data
- Avoid accesses before window for invalid distances with inflate window
- less than 32K.
+ less than 32K
- force windowBits > 8 to avoid a bug in the encoder for a window size
- of 256 bytes. (A complete fix will be available in 1.1.5).
+ of 256 bytes. (A complete fix will be available in 1.1.5)
Changes in 1.1.3 (9 July 1998)
- fix "an inflate input buffer bug that shows up on rare but persistent
@@ -1113,7 +1192,7 @@
- remove block truncation heuristic which had very marginal effect for zlib
(smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
compression ratio on some files. This also allows inlining _tr_tally for
- matches in deflate_slow.
+ matches in deflate_slow
- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
Changes in 1.1.0 (24 Feb 98)
@@ -1144,7 +1223,7 @@
- Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8
- in inftrees.c, avoid cc -O bug on HP (Farshid Elahi)
- in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with
- the declaration of FAR (Gilles VOllant)
+ the declaration of FAR (Gilles Vollant)
- install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann)
- read_buf buf parameter of type Bytef* instead of charf*
- zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout)
@@ -1158,7 +1237,7 @@
- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
- use constant arrays for the static trees in trees.c instead of computing
them at run time (thanks to Ken Raeburn for this suggestion). To create
- trees.h, compile with GEN_TREES_H and run "make test".
+ trees.h, compile with GEN_TREES_H and run "make test"
- check return code of example in "make test" and display result
- pass minigzip command line options to file_compress
- simplifying code of inflateSync to avoid gcc 2.8 bug
@@ -1197,12 +1276,12 @@
- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
- Fix a deflate bug occurring only with compression level 0 (thanks to
- Andy Buckler for finding this one).
-- In minigzip, pass transparently also the first byte for .Z files.
+ Andy Buckler for finding this one)
+- In minigzip, pass transparently also the first byte for .Z files
- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
- check Z_FINISH in inflate (thanks to Marc Schluper)
- Implement deflateCopy (thanks to Adam Costello)
-- make static libraries by default in configure, add --shared option.
+- make static libraries by default in configure, add --shared option
- move MSDOS or Windows specific files to directory msdos
- suppress the notion of partial flush to simplify the interface
(but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
@@ -1214,7 +1293,7 @@
- added Makefile.nt (thanks to Stephen Williams)
- added the unsupported "contrib" directory:
contrib/asm386/ by Gilles Vollant <info%winimage.com@localhost>
- 386 asm code replacing longest_match().
+ 386 asm code replacing longest_match()
contrib/iostream/ by Kevin Ruland <kevin%rodin.wustl.edu@localhost>
A C++ I/O streams interface to the zlib gz* functions
contrib/iostream2/ by Tyge Løvset <Tyge.Lovset%cmr.no@localhost>
@@ -1222,7 +1301,7 @@
contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag%tid.es@localhost>
A very simple tar.gz file extractor using zlib
contrib/visual-basic.txt by Carlos Rios <c_rios%sonda.cl@localhost>
Home |
Main Index |
Thread Index |
Old Index