aboutsummaryrefslogtreecommitdiff
path: root/contrib/testzlib (unfollow)
Commit message (Collapse)AuthorFilesLines
6 daysCMake: Add install-target for contrib/testzlib.HEADdevelopVollstrecker1-5/+27
6 daysCMake: Make final fixes for Windows.Vollstrecker9-40/+74
6 daysCMake: Add integration tests.Vollstrecker25-2/+1015
6 daysCMake: Fix MSVC build.Vollstrecker1-0/+5
6 daysCMake: Name tests consistently.Vollstrecker5-82/+87
6 daysCMake: Name targets consistently.Vollstrecker4-27/+33
6 daysCMake: Make it work with add_subdirectory.Vollstrecker3-5/+55
6 daysCMake: Add install and exports.Vollstrecker5-6/+186
6 daysCMake: Make the options available in cmake-gui.Vollstrecker1-3/+3
6 daysCMake: Added contrib/testzlib.Vollstrecker2-0/+26
6 daysCMake: Added contrib/puff.Vollstrecker5-0/+235
6 daysCMake: Removed bogus module-path.Vollstrecker1-2/+0
6 daysCMake: Moved everything to functions for consistency.Vollstrecker1-44/+39
6 daysCMake: Added contrib/iostream3.Vollstrecker3-2/+103
6 daysCMake: Unify the options.Vollstrecker3-46/+50
6 daysCMake: Added contrib/infback9.Vollstrecker2-0/+23
6 daysCMake: Added contrib/gcc_gvmat64.Vollstrecker2-0/+21
6 daysCMake: Filter out optimisation flags for the ada binder.Vollstrecker1-0/+6
6 daysCMake: Clean out unneeded stuff.Vollstrecker1-16/+0
6 daysCMake: Added contrib/blast.Vollstrecker7-49/+171
6 daysCMake: Added contrib/ada.Vollstrecker11-0/+676
6 daysCMake: Set defaults for contrib/minizip from contrib.Vollstrecker1-0/+3
6 daysCMake: Move contrib options out of main file.Vollstrecker2-4/+6
6 daysRemove old subdirectory.Mark Adler7-618/+0
6 daysAdd _z versions of the compress and uncompress functions.Mark Adler15-43/+148
Provide size_t arguments for Windows, on which a long is 32 bits.
6 daysRemove untgz from contrib.Mark Adler4-701/+0
7 daysZero inflate state on allocation.Mark Adler1-0/+2
To further guard against the propagation of uninitialized memory.
7 daysCopy only the initialized deflate state in deflateCopy.Mark Adler2-5/+17
To avoid the propagation and possible disclosure of uninitialized memory contents.
7 daysCorrect #endif comment in trees.c.Mark Adler1-1/+1
7 daysAdd --undefined option to ./configure for UBSan checker.Mark Adler1-0/+5
12 daysCorrect macro name for ZLIB_INSECURE in c-std.yml.Mark Adler1-3/+3
12 daysAdd compiler options to standards in c-std.yml for ZLIB_INSECURE.Mark Adler1-6/+3
12 daysAdd definition of ZLIB_INSECURE to build tests with c89 and c94.Mark Adler1-0/+6
13 daysAvoid Visual C warning in gzread.c.Mark Adler1-1/+1
13 daysFix links to Mark Nelson's zlib article, now hosted on zlib.net.Mark Adler4-3/+3
13 daysUse atomics to build inflate fixed tables once.Mark Adler13-345/+309
This moves the once code from crc32.c to zutil.c, and uses it also for building the inflate fixed tables when BUILDFIXED is defined. The fixed tables are now housed in inftrees.c, shared by inflate.c and infback.c. The once() function is now external, and so is renamed to z_once() to avoid name collisions. If either BUILDFIXED or DYNAMIC_CRC_TABLE is defined, and atomics are not available, then a warning is issued noting that zlib is not thread-safe.
13 daysAdd compressBound_z and deflateBound_z functions for large values.Mark Adler15-15/+89
These take and return size_t integers, instead of unsigned longs, for those platforms with 32-bit longs. This commit also assures that overflows of either integer type results in the maximum value for that type, instead of wrapping to small values.
13 daysPrevent the use of insecure functions without an explicit request.Mark Adler5-42/+95
ZLIB_INSECURE must be defined in order to compile code that uses the insecure functions vsprintf() or sprintf(). This would occur only if the standard vsnprintf() or snprintf() functions are not available. Providing the --insecure option to ./configure will define ZLIB_INSECURE. A flag is added to zlibCompileFlags() to indicate that gzprintf() is not implemented due to the need for the use of an insecure function, but ZLIB_INSECURE was not defined.
13 daysUpdate the link for an snprintf/vsnprintf implementation in FAQ.Mark Adler1-2/+2
Point to a modern, well-supported implementation, for use when the compiler chain in use does not provide those functions, and a secure alternative to sprintf/vsprintf for the gz functions is desired.
13 daysCopy only the initialized window contents in inflateCopy.Mark Adler1-5/+2
To avoid the propagation and possible disclosure of uninitialized memory contents.
13 daysCheck for negative lengths in crc32_combine functions.Mark Adler2-2/+6
Though zlib.h says that len2 must be non-negative, this avoids the possibility of an accidental infinite loop.
2025-12-08zlib 1.3.1.2v1.3.1.2Mark Adler40-80/+103
Interim version for an audit.
2025-12-08Avoid mixed signedness compare in gzwrite.c.Mark Adler1-1/+1
2025-12-08Look for gcov in configure only if coverage was requested.Mark Adler1-24/+26
2025-12-08CMake: Repair macOS action.Vollstrecker2-4/+28
2025-12-08CMake: Repair Windows action.Vollstrecker1-1/+1
2025-12-08Support non-blocking devices in the gz* routines.Mark Adler5-116/+276
2025-12-06Update gz*.c copyright dates.Mark Adler4-4/+4
2025-12-06Return all available uncompressed data on error in gzread.c.Mark Adler3-32/+49
The error is recorded, and will be detected by the application after all of the uncompressed data has been consumed and then one more call is made to read data. The error is available immediately from gzerror() if the application would like to know earlier.
2025-12-06Fix indentation in gzread.c.Mark Adler1-3/+3