Bugzilla – Attachment 23166 Details for
Bug 59100
VUL-0: CVE-2004-0788: gtk+ XPM decoder issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
ico.diff - fix for ico header overflow
ico.diff (text/plain), 634 bytes, created by
Marcus Meissner
on 2004-09-06 17:08:58 UTC
(
hide
)
Description:
ico.diff - fix for ico header overflow
Filename:
MIME Type:
Creator:
Marcus Meissner
Created:
2004-09-06 17:08:58 UTC
Size:
634 bytes
patch
obsolete
>Index: io-ico.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gdk-pixbuf/io-ico.c,v >retrieving revision 1.35 >diff -u -r1.35 io-ico.c >--- io-ico.c 8 Jul 2004 03:56:36 -0000 1.35 >+++ io-ico.c 27 Aug 2004 14:37:37 -0000 >@@ -323,6 +323,14 @@ > > State->HeaderSize+=I; > >+ if (State->HeaderSize < 0) { >+ g_set_error (error, >+ GDK_PIXBUF_ERROR, >+ GDK_PIXBUF_ERROR_CORRUPT_IMAGE, >+ _("Invalid header in icon")); >+ return; >+ } >+ > if (State->HeaderSize>State->BytesInHeaderBuf) { > guchar *tmp=g_try_realloc(State->HeaderBuf,State->HeaderSize); > if (!tmp) {
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 59100
:
22861
|
22897
|
22999
| 23166 |
23191