Bugzilla – Attachment 22894 Details for
Bug 59087
VUL-0: CVE-2004-0797: zlib: DoS in zlib 1.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
alternative patch
zlib-1.2.1.1-deb-alt-inflate.patch (text/plain), 967 bytes, created by
Sebastian Krahmer
on 2004-08-25 16:35:52 UTC
(
hide
)
Description:
alternative patch
Filename:
MIME Type:
Creator:
Sebastian Krahmer
Created:
2004-08-25 16:35:52 UTC
Size:
967 bytes
patch
obsolete
>diff -uprk.orig zlib-1.2.1.1.orig/infback.c zlib-1.2.1.1/infback.c >--- zlib-1.2.1.1.orig/infback.c 2003-08-12 03:48:06 +0400 >+++ zlib-1.2.1.1/infback.c 2004-08-24 18:45:17 +0400 >@@ -434,6 +434,9 @@ int ZEXPORT inflateBack(strm, in, in_desc, out, out_desc) > } > } > >+ if (state->mode == BAD) >+ break; >+ > /* build code tables */ > state->next = state->codes; > state->lencode = (code const FAR *)(state->next); >diff -uprk.orig zlib-1.2.1.1.orig/inflate.c zlib-1.2.1.1/inflate.c >--- zlib-1.2.1.1.orig/inflate.c 2003-10-26 09:15:36 +0300 >+++ zlib-1.2.1.1/inflate.c 2004-08-24 18:40:39 +0400 >@@ -861,6 +861,9 @@ int ZEXPORT inflate(strm, flush) > } > } > >+ if (state->mode == BAD) >+ break; >+ > /* build code tables */ > state->next = state->codes; > state->lencode = (code const FAR *)(state->next);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 59087
:
22841
|
22871
|
22872
| 22894