Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit 8e34b3a

Browse files
committed
zlib 1.2.0.2
1 parent 13a294f commit 8e34b3a

58 files changed

Lines changed: 7305 additions & 5376 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎ChangeLog‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11

22
ChangeLog file for zlib
3+
Changes in 1.2.0.2 (13 July 2003)
4+
- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
5+
- Attempt to avoid warnings in crc32.c for pointer-int conversion
6+
- Add AIX to configure, remove aix directory [Bakker]
7+
- Add some casts to minigzip.c
8+
- Improve checking after insecure sprintf() or vsprintf() calls
9+
- Remove #elif's from crc32.c
10+
- Change leave label to inf_leave in inflate.c and infback.c to avoid
11+
library conflicts
12+
- Remove inflate gzip decoding by default--only enable gzip decoding by
13+
special request for stricter backward compatibility
14+
- Add zlibCompileFlags() function to return compilation information
15+
- More typecasting in deflate.c to avoid warnings
16+
- Remove leading underscore from _Capital #defines [Truta]
17+
- Fix configure to link shared library when testing
18+
- Add some Windows CE target adjustments [Mai]
19+
- Remove #define ZLIB_DLL in zconf.h [Vollant]
20+
- Add zlib.3 [Rodgers]
21+
- Update RFC URL in deflate.c and algorithm.txt [Mai]
22+
- Add zlib_dll_FAQ.txt to contrib [Truta]
23+
- Add UL to some constants [Truta]
24+
- Update minizip and vstudio [Vollant]
25+
- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
26+
- Expand use of NO_DUMMY_DECL to avoid all dummy structures
27+
- Added iostream3 to contrib [Schwardt]
28+
- Replace rewind() with fseek() for WinCE [Truta]
29+
- Improve setting of zlib format compression level flags
30+
- Report 0 for huffman and rle strategies and for level == 0 or 1
31+
- Report 2 only for level == 6
32+
- Only deal with 64K limit when necessary at compile time [Truta]
33+
- Allow TOO_FAR check to be turned off at compile time [Truta]
34+
- Added gzclearerr() function [Souza]
35+
- Added gzungetc() function
36+
337
Changes in 1.2.0.1 (17 March 2003)
438
- Add Z_RLE strategy for run-length encoding [Truta]
539
- When Z_RLE requested, restrict matches to distance one
@@ -12,7 +46,7 @@ Changes in 1.2.0.1 (17 March 2003)
1246
- Include additional header file on VMS for off_t typedef
1347
- Try to use _vsnprintf where it supplants vsprintf [Vollant]
1448
- Add some casts in inffast.c
15-
- Enchance comments in zlib.h on what happens if the gzprintf() tries to
49+
- Enchance comments in zlib.h on what happens if gzprintf() tries to
1650
write more than 4095 bytes before compression
1751
- Remove unused state from inflateBackEnd()
1852
- Remove exit(0) from minigzip.c, example.c

‎FAQ‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ The lastest zlib FAQ is at http://www.gzip.org/zlib/zlib_faq.html
228228
hand, if zlib is compiled to use snprintf() or vsnprintf(), which should
229229
normally be the case, then there is no vulnerability. The ./configure
230230
script will display warnings if an insecure variation of sprintf() will
231-
be used by gzprintf().
231+
be used by gzprintf(). Also the zlibCompileFlags() functions will return
232+
information on what variant of sprintf() is used by gzprintf().
232233

233234
If you don't have snprintf() or vsnprintf() and would like one, you can
234235
find a portable implementation here:

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LDFLAGS=libz.a
2424
LDSHARED=$(CC)
2525
CPP=$(CC) -E
2626

27-
VER=1.2.0.1
27+
VER=1.2.0.2
2828
LIBS=libz.a
2929
SHAREDLIB=libz.so
3030

‎Makefile.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LDFLAGS=libz.a
2424
LDSHARED=$(CC)
2525
CPP=$(CC) -E
2626

27-
VER=1.2.0.1
27+
VER=1.2.0.2
2828
LIBS=libz.a
2929
SHAREDLIB=libz.so
3030

‎README‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ZLIB DATA COMPRESSION LIBRARY
22

3-
zlib 1.2.0.1 is a general purpose data compression library. All the code is
3+
zlib 1.2.0.2 is a general purpose data compression library. All the code is
44
thread safe. The data format used by the zlib library is described by RFCs
55
(Request for Comments) 1950 to 1952 in the files
66
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
@@ -34,7 +34,7 @@ Mark Nelson <[email protected]> wrote an article about zlib for the Jan. 1997
3434
issue of Dr. Dobb's Journal; a copy of the article is available in
3535
http://dogma.net/markn/articles/zlibtool/zlibtool.htm
3636

37-
The changes made in version 1.2.0.1 are documented in the file ChangeLog.
37+
The changes made in version 1.2.0.2 are documented in the file ChangeLog.
3838

3939
Unsupported third party contributions are provided in directory "contrib".
4040

‎adler32.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
/* @(#) $Id$ */
77

8+
#define ZLIB_INTERNAL
89
#include "zlib.h"
910

1011
#define BASE 65521L /* largest prime smaller than 65536 */

‎aix/README‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎aix/configure.diff‎

Lines changed: 0 additions & 57 deletions
This file was deleted.

‎aix/mkexps‎

Lines changed: 0 additions & 37 deletions
This file was deleted.

‎algorithm.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,4 @@ Compression,'' IEEE Transactions on Information Theory, Vol. 23, No. 3,
206206
pp. 337-343.
207207

208208
``DEFLATE Compressed Data Format Specification'' available in
209-
ftp://ds.internic.net/rfc/rfc1951.txt
209+
http://www.ietf.org/rfc/rfc1951.txt

0 commit comments

Comments
 (0)