summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-09-02 11:50:01 +0000
committerRichard Purdie <richard@openedhand.com>2005-09-02 11:50:01 +0000
commit95efeafc86f47592b37c44f2f7314324cc04250d (patch)
treee60fe38e88d8e6cf42cf1311c5ada752b79a59c7 /openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch
parent7755d9d194b42ea859096f805f2e22ae5b6e6281 (diff)
downloadpoky-95efeafc86f47592b37c44f2f7314324cc04250d.tar.gz
Add gtk+, avahi, dbus-0.34 (.36 coming soon) and dependencies. Fix x11-common breakage.
git-svn-id: https://svn.o-hand.com/repos/poky@13 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch')
-rw-r--r--openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch b/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch
new file mode 100644
index 0000000000..21500db65a
--- /dev/null
+++ b/openembedded/packages/gtk+/gtk+-2.6.4-1.osso7/002_xpmico.patch
@@ -0,0 +1,18 @@
1diff -Nur gtk+-2.4.9.orig/gdk-pixbuf/io-ico.c gtk+-2.4.9/gdk-pixbuf/io-ico.c
2--- gtk+-2.4.9.orig/gdk-pixbuf/io-ico.c 2004-08-25 18:52:18.000000000 +0200
3+++ gtk+-2.4.9/gdk-pixbuf/io-ico.c 2004-09-15 00:40:17.000000000 +0200
4@@ -210,6 +210,14 @@
5
6 State->HeaderSize = 6 + IconCount*16;
7
8+ if (State->HeaderSize < 0) {
9+ g_set_error (error,
10+ GDK_PIXBUF_ERROR,
11+ GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
12+ _("Invalid header in icon"));
13+ return;
14+ }
15+
16 if (State->HeaderSize>State->BytesInHeaderBuf) {
17 guchar *tmp=g_try_realloc(State->HeaderBuf,State->HeaderSize);
18 if (!tmp) {