| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 6 days | CMake: Add install-target for contrib/testzlib.HEADdevelop | Vollstrecker | 1 | -5/+27 | |
| 6 days | CMake: Make final fixes for Windows. | Vollstrecker | 9 | -40/+74 | |
| 6 days | CMake: Add integration tests. | Vollstrecker | 25 | -2/+1015 | |
| 6 days | CMake: Fix MSVC build. | Vollstrecker | 1 | -0/+5 | |
| 6 days | CMake: Name tests consistently. | Vollstrecker | 5 | -82/+87 | |
| 6 days | CMake: Name targets consistently. | Vollstrecker | 4 | -27/+33 | |
| 6 days | CMake: Make it work with add_subdirectory. | Vollstrecker | 3 | -5/+55 | |
| 6 days | CMake: Add install and exports. | Vollstrecker | 5 | -6/+186 | |
| 6 days | CMake: Make the options available in cmake-gui. | Vollstrecker | 1 | -3/+3 | |
| 6 days | CMake: Added contrib/testzlib. | Vollstrecker | 2 | -0/+26 | |
| 6 days | CMake: Added contrib/puff. | Vollstrecker | 5 | -0/+235 | |
| 6 days | CMake: Removed bogus module-path. | Vollstrecker | 1 | -2/+0 | |
| 6 days | CMake: Moved everything to functions for consistency. | Vollstrecker | 1 | -44/+39 | |
| 6 days | CMake: Added contrib/iostream3. | Vollstrecker | 3 | -2/+103 | |
| 6 days | CMake: Unify the options. | Vollstrecker | 3 | -46/+50 | |
| 6 days | CMake: Added contrib/infback9. | Vollstrecker | 2 | -0/+23 | |
| 6 days | CMake: Added contrib/gcc_gvmat64. | Vollstrecker | 2 | -0/+21 | |
| 6 days | CMake: Filter out optimisation flags for the ada binder. | Vollstrecker | 1 | -0/+6 | |
| 6 days | CMake: Clean out unneeded stuff. | Vollstrecker | 1 | -16/+0 | |
| 6 days | CMake: Added contrib/blast. | Vollstrecker | 7 | -49/+171 | |
| 6 days | CMake: Added contrib/ada. | Vollstrecker | 11 | -0/+676 | |
| 6 days | CMake: Set defaults for contrib/minizip from contrib. | Vollstrecker | 1 | -0/+3 | |
| 6 days | CMake: Move contrib options out of main file. | Vollstrecker | 2 | -4/+6 | |
| 6 days | Remove old subdirectory. | Mark Adler | 7 | -618/+0 | |
| 6 days | Add _z versions of the compress and uncompress functions. | Mark Adler | 15 | -43/+148 | |
| Provide size_t arguments for Windows, on which a long is 32 bits. | |||||
| 6 days | Remove untgz from contrib. | Mark Adler | 4 | -701/+0 | |
| 7 days | Zero inflate state on allocation. | Mark Adler | 1 | -0/+2 | |
| To further guard against the propagation of uninitialized memory. | |||||
| 7 days | Copy only the initialized deflate state in deflateCopy. | Mark Adler | 2 | -5/+17 | |
| To avoid the propagation and possible disclosure of uninitialized memory contents. | |||||
| 7 days | Correct #endif comment in trees.c. | Mark Adler | 1 | -1/+1 | |
| 7 days | Add --undefined option to ./configure for UBSan checker. | Mark Adler | 1 | -0/+5 | |
| 12 days | Correct macro name for ZLIB_INSECURE in c-std.yml. | Mark Adler | 1 | -3/+3 | |
| 12 days | Add compiler options to standards in c-std.yml for ZLIB_INSECURE. | Mark Adler | 1 | -6/+3 | |
| 12 days | Add definition of ZLIB_INSECURE to build tests with c89 and c94. | Mark Adler | 1 | -0/+6 | |
| 13 days | Avoid Visual C warning in gzread.c. | Mark Adler | 1 | -1/+1 | |
| 13 days | Fix links to Mark Nelson's zlib article, now hosted on zlib.net. | Mark Adler | 4 | -3/+3 | |
| 13 days | Use atomics to build inflate fixed tables once. | Mark Adler | 13 | -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 days | Add compressBound_z and deflateBound_z functions for large values. | Mark Adler | 15 | -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 days | Prevent the use of insecure functions without an explicit request. | Mark Adler | 5 | -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 days | Update the link for an snprintf/vsnprintf implementation in FAQ. | Mark Adler | 1 | -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 days | Copy only the initialized window contents in inflateCopy. | Mark Adler | 1 | -5/+2 | |
| To avoid the propagation and possible disclosure of uninitialized memory contents. | |||||
| 13 days | Check for negative lengths in crc32_combine functions. | Mark Adler | 2 | -2/+6 | |
| Though zlib.h says that len2 must be non-negative, this avoids the possibility of an accidental infinite loop. | |||||
| 2025-12-08 | zlib 1.3.1.2v1.3.1.2 | Mark Adler | 40 | -80/+103 | |
| Interim version for an audit. | |||||
| 2025-12-08 | Avoid mixed signedness compare in gzwrite.c. | Mark Adler | 1 | -1/+1 | |
| 2025-12-08 | Look for gcov in configure only if coverage was requested. | Mark Adler | 1 | -24/+26 | |
| 2025-12-08 | CMake: Repair macOS action. | Vollstrecker | 2 | -4/+28 | |
| 2025-12-08 | CMake: Repair Windows action. | Vollstrecker | 1 | -1/+1 | |
| 2025-12-08 | Support non-blocking devices in the gz* routines. | Mark Adler | 5 | -116/+276 | |
| 2025-12-06 | Update gz*.c copyright dates. | Mark Adler | 4 | -4/+4 | |
| 2025-12-06 | Return all available uncompressed data on error in gzread.c. | Mark Adler | 3 | -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-06 | Fix indentation in gzread.c. | Mark Adler | 1 | -3/+3 | |
