git: vendor/ZLIB vendor/ZLIB: Upgrade from 1.2.13 to 1.3.1
Aaron LI
aly at crater.dragonflybsd.org
Wed Mar 19 22:02:49 PDT 2025
commit c7207a57dc58016467ca21e09286b14428bf8987
Author: Aaron LI <aly at aaronly.me>
Date: Thu Mar 20 11:02:19 2025 +0800
vendor/ZLIB: Upgrade from 1.2.13 to 1.3.1
Changes in 1.3.1 (22 Jan 2024)
- Reject overflows of zip header fields in minizip
- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Fix decision on the emission of Zip64 end records in minizip
- Add bounds checking to ERR_MSG() macro, used by zError()
- Neutralize zip file traversal attacks in miniunz
- Fix a bug in ZLIB_DEBUG compiles in check_match()
- Various portability and appearance improvements
Changes in 1.3 (18 Aug 2023)
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections
Summary of changes:
contrib/zlib/ChangeLog | 30 ++-
contrib/zlib/README | 19 +-
contrib/zlib/adler32.c | 32 +--
contrib/zlib/compress.c | 21 +-
contrib/zlib/crc32.c | 248 +++++++-------------
contrib/zlib/deflate.c | 612 +++++++++++++++++++++---------------------------
contrib/zlib/deflate.h | 51 +++-
contrib/zlib/gzclose.c | 4 +-
contrib/zlib/gzguts.h | 31 +--
contrib/zlib/gzlib.c | 113 +++------
contrib/zlib/gzread.c | 88 ++-----
contrib/zlib/gzwrite.c | 84 ++-----
contrib/zlib/infback.c | 30 +--
contrib/zlib/inffast.c | 5 +-
contrib/zlib/inffast.h | 2 +-
contrib/zlib/inflate.c | 131 +++--------
contrib/zlib/inftrees.c | 17 +-
contrib/zlib/inftrees.h | 10 +-
contrib/zlib/trees.c | 542 +++++++++++++++++++-----------------------
contrib/zlib/uncompr.c | 16 +-
contrib/zlib/zlib.3 | 6 +-
contrib/zlib/zlib.h | 391 ++++++++++++++++---------------
contrib/zlib/zutil.c | 60 ++---
contrib/zlib/zutil.h | 47 +---
24 files changed, 1046 insertions(+), 1544 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7207a57dc58016467ca21e09286b14428bf8987
--
DragonFly BSD source repository
More information about the Commits
mailing list