Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101400 Details for
Bug 154380
media-libs/libpng: sPLT chunk handling denial of service (CVE-2006-5793)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sPLT chunk handling fix
splt-fix.diff (text/plain), 791 bytes, created by
Tavis Ormandy (RETIRED)
on 2006-11-07 09:10:03 UTC
(
hide
)
Description:
sPLT chunk handling fix
Filename:
MIME Type:
Creator:
Tavis Ormandy (RETIRED)
Created:
2006-11-07 09:10:03 UTC
Size:
791 bytes
patch
obsolete
>diff -ruNp libpng-1.2.12.orig/pngset.c libpng-1.2.12/pngset.c >--- libpng-1.2.12.orig/pngset.c 2006-06-27 21:22:34.000000000 +0100 >+++ libpng-1.2.12/pngset.c 2006-11-07 17:04:05.723871824 +0000 >@@ -976,10 +976,10 @@ png_set_sPLT(png_structp png_ptr, > /* TODO: use png_malloc_warn */ > png_strcpy(to->name, from->name); > to->entries = (png_sPLT_entryp)png_malloc(png_ptr, >- from->nentries * png_sizeof(png_sPLT_t)); >+ from->nentries * png_sizeof(png_sPLT_entry)); > /* TODO: use png_malloc_warn */ > png_memcpy(to->entries, from->entries, >- from->nentries * png_sizeof(png_sPLT_t)); >+ from->nentries * png_sizeof(png_sPLT_entry)); > to->nentries = from->nentries; > to->depth = from->depth; > }
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 154380
: 101400 |
101579