summaryrefslogtreecommitdiff
path: root/zlib/inftrees.h
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-07-27 14:55:08 +0200
committerunknown <lenz@mysql.com>2005-07-27 14:55:08 +0200
commit62f8a31b215072b09bc25395fa1781afe5542386 (patch)
treee8ee43057a616c209ddbf581c3e5556d07141fbf /zlib/inftrees.h
parent53f40f95f8fa48bec147d50f2cfe620a6ba49073 (diff)
downloadmariadb-git-62f8a31b215072b09bc25395fa1781afe5542386.tar.gz
- applied a security fix to inftrees.h from the bundled zlib to resolve a second
potential zlib security vulnerability (CAN-2005-1849). Fix was taken from the official zlib-1.2.3 distribution (no other zlib-1.2.3 changes were applied) zlib/inftrees.h: - applied another security fix to resolve CAN-2005-1849, taken from the 1.2.3 zlib sources
Diffstat (limited to 'zlib/inftrees.h')
-rw-r--r--zlib/inftrees.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/zlib/inftrees.h b/zlib/inftrees.h
index 82d365a7e90..b1104c87e76 100644
--- a/zlib/inftrees.h
+++ b/zlib/inftrees.h
@@ -1,5 +1,5 @@
/* inftrees.h -- header to use inftrees.c
- * Copyright (C) 1995-2003 Mark Adler
+ * Copyright (C) 1995-2005 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.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 {