]>
Commit | Line | Data |
---|---|---|
f1347c9b JB |
1 | Security Bugfixes (CAN-2004-0797, OpenPKG-SA-2004.038-zlib): |
2 | ||
3 | --- zlib-1.2.1/infback.c.orig 2003-08-12 01:48:06 +0200 | |
4 | +++ zlib-1.2.1/infback.c 2004-08-25 12:37:07 +0200 | |
5 | @@ -434,6 +434,9 @@ | |
6 | } | |
7 | } | |
8 | ||
9 | + if (state->mode == BAD) | |
10 | + break; | |
11 | + | |
12 | /* build code tables */ | |
13 | state->next = state->codes; | |
14 | state->lencode = (code const FAR *)(state->next); | |
15 | --- zlib-1.2.1/inflate.c.orig 2003-10-26 07:15:36 +0100 | |
16 | +++ zlib-1.2.1/inflate.c 2004-08-25 12:37:07 +0200 | |
17 | @@ -861,6 +861,9 @@ | |
18 | } | |
19 | } | |
20 | ||
21 | + if (state->mode == BAD) | |
22 | + break; | |
23 | + | |
24 | /* build code tables */ | |
25 | state->next = state->codes; | |
26 | state->lencode = (code const FAR *)(state->next); |