http://bugzilla.novell.com/show_bug.cgi?id=607570
http://bugzilla.novell.com/show_bug.cgi?id=607570#c2
--- Comment #2 from Jeff Mahoney 2010-05-20 16:06:43 UTC ---
Created an attachment (id=363582)
--> (http://bugzilla.novell.com/attachment.cgi?id=363582)
[PATCH] gdk: Fix inappropriate sign extension in png_info_callback
png_info_callback calls png_get_iCCP, which expects a pointer to a
png_uint_32 to pass back the size of the data. png_info_callback declares
icc_profile_size as a gulong and casts it. It results in bad sign
extension, which ultimately causes crashes when g_base64_is called immediately
after it using icc_profile_size as the length of the data it passes.
I was seeing pidgin crashes with the following signature:
(11:42:55) GLib: gmem.c:137: failed to allocate 186413033896589 bytes
This patch fixes it.
Signed-off-by: Jeff Mahoney
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.