Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 293893 Details for
Bug 431438
CVE-2008-0888 unzip: free() called for uninitialized or already freed pointer
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch against 5.5.2 proposed by Tavis
unzip-5.5.2-goo-sec.diff (text/plain), 1.36 KB, created by
Tomas Hoger
on 2008-02-04 15:20:50 UTC
(
hide
)
Description:
Patch against 5.5.2 proposed by Tavis
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2008-02-04 15:20:50 UTC
Size:
1.36 KB
patch
obsolete
>--- inflate.c 2005-02-27 06:08:46.000000000 +0000 >+++ inflate.c 2006-07-19 21:45:33.543595000 +0100 >@@ -983,6 +983,7 @@ > unsigned l; /* last length */ > unsigned m; /* mask for bit lengths table */ > unsigned n; /* number of lengths to get */ >+ struct huft *tlp; > struct huft *tl; /* literal/length code table */ > struct huft *td; /* distance code table */ > unsigned bl; /* lookup bits for tl */ >@@ -996,6 +997,8 @@ > int retval = 0; /* error code returned: initialized to "no error" */ > > >+ td = tlp = tl = (struct huft *)NULL; >+ > /* make local bit buffer */ > Trace((stderr, "\ndynamic block")); > b = G.bb; >@@ -1047,9 +1050,9 @@ > while (i < n) > { > NEEDBITS(bl) >- j = (td = tl + ((unsigned)b & m))->b; >+ j = (tlp = tl + ((unsigned)b & m))->b; > DUMPBITS(j) >- j = td->v.n; >+ j = tlp->v.n; > if (j < 16) /* length of code in bits (0..15) */ > ll[i++] = l = j; /* save last length in l */ > else if (j == 16) /* repeat last length 3 to 6 times */ >@@ -1141,6 +1144,7 @@ > huft_free(td); > } > huft_free(tl); >+ > return retval; > } > >@@ -1149,8 +1153,8 @@ > > cleanup_and_exit: > /* free the decoding tables, return */ >- huft_free(tl); >- huft_free(td); >+ if (tl) huft_free(tl); >+ if (td) huft_free(td); > return retval; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 431438
: 293893