diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-07-27 08:41:17 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-07-27 08:41:17 +0000 |
commit | 6393df51ccd1a016925d2808ebf5d4b3bde64aaf (patch) | |
tree | 4228db16894b3f198ed6b1223a9a2dd9f18e82fd /lib/libz | |
parent | e2bb2f5a2e412b3133d44a5158dba2dae50808ab (diff) | |
download | FreeBSD-src-6393df51ccd1a016925d2808ebf5d4b3bde64aaf.zip FreeBSD-src-6393df51ccd1a016925d2808ebf5d4b3bde64aaf.tar.gz |
Correct a buffer overflow which can occur when decompressing a
carefully crafted deflated data stream. [1]
Correct problems in the AES-XCBC-MAC IPsec authentication algorithm. [2]
Submitted by: suz [2]
Security: FreeBSD-SA-05:18.zlib [1], FreeBSD-SA-05:19.ipsec [2]
Diffstat (limited to 'lib/libz')
-rw-r--r-- | lib/libz/inftrees.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libz/inftrees.h b/lib/libz/inftrees.h index 82d365a..424af17 100644 --- a/lib/libz/inftrees.h +++ b/lib/libz/inftrees.h @@ -36,12 +36,12 @@ typedef struct { */ /* Maximum size of dynamic tree. The maximum found in a long but non- - exhaustive search was 1004 code structures (850 for length/literals - and 154 for distances, the latter actually the result of an + exhaustive search was 1444 code structures (852 for length/literals + and 592 for distances, the latter actually the result of an exhaustive search). The true maximum is not known, but the value below is more than safe. */ -#define ENOUGH 1440 -#define MAXD 154 +#define ENOUGH 2048 +#define MAXD 592 /* Type of code to build for inftable() */ typedef enum { |