summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 07:11:46 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 07:11:46 (GMT)
commitd6c85a0a72bdf795006af4855f633e376f7fc9f2 (patch)
tree72a5a1fc5b530820c387f89adcdd2dea326f23d8 /abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
parentfac3c8c6017a5f39ca1aca36f01493fa016d962c (diff)
downloadlinhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.zip
linhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.tar.gz
linhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.tar.bz2
Various packages need for LCDproc.
Diffstat (limited to 'abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch')
-rw-r--r--abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch b/abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
new file mode 100644
index 0000000..29471f1
--- /dev/null
+++ b/abs/extra-testing/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
@@ -0,0 +1,19 @@
+Index: io-bmp.c
+===================================================================
+RCS file: /cvs/gnome/gtk+/gdk-pixbuf/io-bmp.c,v
+retrieving revision 1.41
+diff -u -p -r1.41 io-bmp.c
+--- gdk-pixbuf/io-bmp.c 13 Aug 2004 02:26:57 -0000 1.41
++++ gdk-pixbuf/io-bmp.c 20 Aug 2004 00:18:14 -0000
+@@ -876,8 +876,10 @@ DoCompressed(struct bmp_progressive_stat
+ guchar c;
+ gint idx;
+
+- if (context->compr.y >= context->Header.height)
++ if (context->compr.y >= context->Header.height) {
++ context->BufferDone = 0;
+ return TRUE;
++ }
+
+ y = context->compr.y;
+