diff options
author | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:15:42 +0000 |
---|---|---|
committer | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:15:42 +0000 |
commit | 5b5cf3bf3630352e8c24f9185d7795ec0f503cb4 (patch) | |
tree | df423d8c652725990197e44b8266b6f0b10576f6 /package/libgtk2/old_patches/002_xpmico.patch | |
parent | 84c82f9fd5bb21ae9df4774adce2a7660c145003 (diff) | |
download | buildroot-novena-5b5cf3bf3630352e8c24f9185d7795ec0f503cb4.tar.gz buildroot-novena-5b5cf3bf3630352e8c24f9185d7795ec0f503cb4.zip |
updated libgtk2
Diffstat (limited to 'package/libgtk2/old_patches/002_xpmico.patch')
-rw-r--r-- | package/libgtk2/old_patches/002_xpmico.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libgtk2/old_patches/002_xpmico.patch b/package/libgtk2/old_patches/002_xpmico.patch new file mode 100644 index 000000000..21500db65 --- /dev/null +++ b/package/libgtk2/old_patches/002_xpmico.patch @@ -0,0 +1,18 @@ +diff -Nur gtk+-2.4.9.orig/gdk-pixbuf/io-ico.c gtk+-2.4.9/gdk-pixbuf/io-ico.c +--- gtk+-2.4.9.orig/gdk-pixbuf/io-ico.c 2004-08-25 18:52:18.000000000 +0200 ++++ gtk+-2.4.9/gdk-pixbuf/io-ico.c 2004-09-15 00:40:17.000000000 +0200 +@@ -210,6 +210,14 @@ + + State->HeaderSize = 6 + IconCount*16; + ++ 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) { |