Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104809 Details for
Bug 159216
media-libs/libpng memleaks on certain pngs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for libpng-1.2.13 and 1.2.14
pngwutil.c.patch (text/plain), 837 bytes, created by
torindel
on 2006-12-27 08:16:01 UTC
(
hide
)
Description:
Patch for libpng-1.2.13 and 1.2.14
Filename:
MIME Type:
Creator:
torindel
Created:
2006-12-27 08:16:01 UTC
Size:
837 bytes
patch
obsolete
>--- pngwutil.c.orig 2006-11-28 17:25:59.000000000 +0100 >+++ pngwutil.c 2006-12-27 15:47:53.000000000 +0100 >@@ -733,7 +733,7 @@ png_write_iCCP(png_structp png_ptr, png_ > png_size_t name_len; > png_charp new_name; > compression_state comp; >- int embedded_profile_len = 0; >+ unsigned int embedded_profile_len = 0; > > png_debug(1, "in png_write_iCCP\n"); > >@@ -757,8 +757,8 @@ png_write_iCCP(png_structp png_ptr, png_ > profile_len = 0; > > if (profile_len > 3) >- embedded_profile_len = ((*(profile ))<<24) | ((*(profile+1))<<16) | >- ((*(profile+2))<< 8) | ((*(profile+3)) ); >+ embedded_profile_len = (((png_byte)(*(profile)))<<24) | (((png_byte)(*(profile+1)))<<16) | >+ (((png_byte)(*(profile+2)))<< 8) | ((png_byte)(*(profile+3))); > > if (profile_len < embedded_profile_len) > {
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 159216
: 104809 |
105035