Bugzilla – Attachment 51230 Details for
Bug 119601
VUL-0: CVE-2005-2978: netpbm buffer overflow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
patch
netpbm-10.25-pnmtopng.patch (text/plain), 664 bytes, created by
Ludwig Nussel
on 2005-09-30 09:51:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ludwig Nussel
Created:
2005-09-30 09:51:08 UTC
Size:
664 bytes
patch
obsolete
>--- netpbm-10.25/converter/other/pnmtopng.c.pnmtopng 2004-08-28 04:53:12.000000000 +0200 >+++ netpbm-10.25/converter/other/pnmtopng.c 2005-09-16 14:17:47.129390456 +0200 >@@ -159,7 +159,7 @@ > unsigned int * const bestMatchP) { > > unsigned int paletteIndex; >- unsigned int bestIndex; >+ unsigned int bestIndex = 0; > unsigned int bestMatch; > > bestMatch = UINT_MAX; >@@ -1566,7 +1566,7 @@ > /* The color part of the color/alpha palette passed to the PNG > compressor > */ >- unsigned int palette_size; >+ unsigned int palette_size = MAXCOLORS; > > gray trans_pnm[MAXCOLORS]; > png_byte trans[MAXCOLORS];
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 119601
: 51230 |
51231