Andrew Tridgell
15d8e49a64
zlib: convert K&R function definitions to ANSI style
...
The bundled zlib 1.2.8 used K&R-style function definitions which are
rejected by clang 16+ as hard errors. Convert all 90 functions across
9 files to ANSI-style prototypes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 13:49:30 +10:00
Wayne Davison
9e2921fce8
A fix for the zlib fix.
2022-08-08 20:05:10 -07:00
Wayne Davison
788f11ea6a
Fix zlib bug with a large gzip header extra field
...
From zlib commit eff308af425b67093bab25f80f1ae950166bece1.
Fixes CVE-2022-37434.
2022-08-07 09:34:26 -07:00
Michal Ruprich
1de71e8a78
Fix for CVE-2018-25032 in zlib ( #306 )
2022-04-11 08:50:50 -07:00
Wayne Davison
3fe4469bfa
Fix zlib CVE-2016-9843.
2019-03-16 09:56:11 -07:00
Wayne Davison
8eb50bce43
Fix zlib CVE-2016-9842.
2019-03-16 09:56:11 -07:00
Wayne Davison
fc10fafa25
Fix zlib CVE-2016-9841.
2019-03-16 09:56:11 -07:00
Wayne Davison
efcbec3df5
Fix zlib CVE-2016-9840.
2019-03-16 09:56:11 -07:00
Wayne Davison
ad17b21889
Silence fall-through warnings.
2019-01-04 15:06:30 -08:00
Wayne Davison
eec6ab7615
Avoid a compiler error/warning about shifting a negative value.
...
Fixes bug #13268 .
2018-03-25 19:11:41 -07:00
Wayne Davison
f0da824237
Upgrading zlib to 1.2.8.
2013-06-09 22:27:33 -07:00
Wayne Davison
1f41d42a91
Getting rid of all .cvsignore files.
2007-11-12 13:32:10 -08:00
Wayne Davison
7455467c17
One more try at silencing some checker warnings.
2007-05-21 23:45:26 +00:00
Wayne Davison
19395697b9
Let's see if we can silence some more code-checker warnings.
2007-05-21 18:39:05 +00:00
Wayne Davison
7787579ad4
Added some "FALL THROUGH" comments in the main switch.
2007-05-21 10:20:18 +00:00
Wayne Davison
cd426074e1
Updated to zlib 1.2.3.
2005-07-22 15:54:43 +00:00
Wayne Davison
b5be9e6c5f
Fix latest zlib security exploit (CAN-2005-2096).
2005-07-07 21:14:29 +00:00
Wayne Davison
1e1cf68934
Upgraded to version 1.2.2.
2005-07-07 20:48:02 +00:00
Wayne Davison
4a2744cee3
One more "#undef BAD" for AIX.
2005-07-07 20:37:31 +00:00
Wayne Davison
12febd804f
Use a define to handle conflicting function read_buf instead of
...
renaming it in the code.
2005-07-07 20:17:35 +00:00
Wayne Davison
687c6b14a0
Changed "Overflow" back to "overflow".
2005-07-07 20:16:41 +00:00
Wayne Davison
9819f005b6
Changed zBAD back to BAD (with a simpler kluge for AIX).
2005-07-07 19:31:23 +00:00
Wayne Davison
2a6793bf1f
Fixed some whitespace to match the original source.
2005-07-07 19:22:55 +00:00
Wayne Davison
0301b334c7
Fixed Z_INSERT_ONLY support in deflate_stored().
2005-01-02 09:03:44 +00:00
Wayne Davison
1492b4b2b2
The deflate_stored() function needed to support Z_INSERT_ONLY.
2005-01-02 08:49:47 +00:00
Wayne Davison
b017ec4e13
Silenced a couple compiler warnings.
2003-08-21 23:28:24 +00:00
Martin Pool
8f7a38336d
Make the situation w.r.t. dynamically linking zlib and libpopt clear.
2002-03-25 09:42:36 +00:00
Martin Pool
ac69049ec2
Additional trivial merge patch from Jos
2002-03-12 02:07:36 +00:00
Martin Pool
be59d0ec23
Patch from Jos Backus to merge zlib-1.1.4.
2002-03-12 01:14:58 +00:00
Martin Pool
0bc467516a
Merge the zlib fix properly; back out tridge's bandaid.
2002-03-12 00:33:51 +00:00
Andrew Tridgell
6819304740
a quick fix for a segmentation fault in zlib I am getting whenever I
...
try to upload a file from rsync 2.5.2 to rsync 2.5.3
2002-03-11 18:54:51 +00:00
Martin Pool
567e56313a
Merge zlib double-free bug forwarded by Mark J Cox.
2002-03-11 05:55:33 +00:00
Martin Pool
be60c7b9d1
Try to merge across changes in zlib from 1.1.2 to 1.1.3.
2002-03-11 03:56:35 +00:00
Martin Pool
06b91d8eb9
Try to merge across changes in zlib from 1.1.2 to 1.1.3.
2002-03-11 03:35:35 +00:00
Martin Pool
fa994de488
Ignore generated files that are not stored in CVS.
2001-01-08 03:39:32 +00:00
Andrew Tridgell
d846b09874
replace BAD with zBAD so it compiles on AIX
1998-05-30 02:07:36 +00:00
Andrew Tridgell
2b6b4d539b
added support for --include, --include-from and the +/- syntax
1998-05-27 11:02:33 +00:00
Andrew Tridgell
9add51f18e
change WRAP to ZWRAP so it doesn't conflict with IRIX includes
1998-05-22 13:02:22 +00:00
Andrew Tridgell
f7bd44eb32
added a README.rsync to explain what we have changed in zlib and to
...
tell people that any bugs are our responsibility.
1998-05-22 12:20:07 +00:00
Andrew Tridgell
06e27ef78e
- fix redefinition of MAX
...
- fix shadow of variable "overflow"
1998-05-22 12:08:49 +00:00
Paul Mackerras
5914bf15d2
Update to use the new zlib-1.1.2 code.
...
The compressed token code now handles the null (-2)
token from the match logic.
1998-05-22 06:58:52 +00:00
Paul Mackerras
d4286ec49d
Add pristine zlib-1.1.2 code, ready for hacking.
1998-05-07 06:19:41 +00:00