Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162354 Details for
Bug 234080
media-libs/tiff <3.8.2-r4 buffer underflow in LZW decoding (CVE-2008-2327)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tiff-3.8.2-CVE-2008-2327.patch
tiff-3.8.2-CVE-2008-2327.patch (text/plain), 807 bytes, created by
Robert Buchholz (RETIRED)
on 2008-08-06 12:44:31 UTC
(
hide
)
Description:
tiff-3.8.2-CVE-2008-2327.patch
Filename:
MIME Type:
Creator:
Robert Buchholz (RETIRED)
Created:
2008-08-06 12:44:31 UTC
Size:
807 bytes
patch
obsolete
>Index: tiff-3.8.2/libtiff/tif_lzw.c >=================================================================== >--- tiff-3.8.2.orig/libtiff/tif_lzw.c >+++ tiff-3.8.2/libtiff/tif_lzw.c >@@ -408,6 +408,7 @@ LZWDecode(TIFF* tif, tidata_t op0, tsize > break; > if (code == CODE_CLEAR) { > free_entp = sp->dec_codetab + CODE_FIRST; >+ _TIFFmemset(free_entp, 0, (CSIZE-CODE_FIRST)*sizeof (code_t)); > nbits = BITS_MIN; > nbitsmask = MAXCODE(BITS_MIN); > maxcodep = sp->dec_codetab + nbitsmask-1; >@@ -604,6 +605,7 @@ LZWDecodeCompat(TIFF* tif, tidata_t op0, > break; > if (code == CODE_CLEAR) { > free_entp = sp->dec_codetab + CODE_FIRST; >+ _TIFFmemset(free_entp, 0, (CSIZE-CODE_FIRST)*sizeof (code_t)); > nbits = BITS_MIN; > nbitsmask = MAXCODE(BITS_MIN); > maxcodep = sp->dec_codetab + nbitsmask;
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 234080
: 162354 |
162356
|
163378