summaryrefslogtreecommitdiff
path: root/package/libgtk2/old_patches/002_xpmico.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgtk2/old_patches/002_xpmico.patch')
-rw-r--r--package/libgtk2/old_patches/002_xpmico.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/package/libgtk2/old_patches/002_xpmico.patch b/package/libgtk2/old_patches/002_xpmico.patch
deleted file mode 100644
index 21500db65..000000000
--- a/package/libgtk2/old_patches/002_xpmico.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-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) {