diff options
author | Ladislav <Zezula> | 2013-09-15 10:23:57 +0200 |
---|---|---|
committer | Ladislav <Zezula> | 2013-09-15 10:23:57 +0200 |
commit | fd9326ba5cb40c07205b9b4fa4ca6a8567b43a69 (patch) | |
tree | c415ebbef8e99d747890a462afd978d73343790b /src/zlib/trees.h | |
parent | dab826ac100f72306229dc2b57c4996011dfd530 (diff) |
+ Fixed possible division by zero in LoadMpqDataBitmap
+ Updated zlib to version 1.2.5 (the same like current WoW build uses)
Diffstat (limited to 'src/zlib/trees.h')
-rw-r--r-- | src/zlib/trees.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zlib/trees.h b/src/zlib/trees.h index 72facf9..d35639d 100644 --- a/src/zlib/trees.h +++ b/src/zlib/trees.h @@ -70,7 +70,7 @@ local const ct_data static_dtree[D_CODES] = { {{19},{ 5}}, {{11},{ 5}}, {{27},{ 5}}, {{ 7},{ 5}}, {{23},{ 5}} }; -const uch _dist_code[DIST_CODE_LEN] = { +const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = { 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, @@ -99,7 +99,7 @@ const uch _dist_code[DIST_CODE_LEN] = { 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29 }; -const uch _length_code[MAX_MATCH-MIN_MATCH+1]= { +const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= { 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, |