summaryrefslogtreecommitdiff
path: root/pcr/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2015-05-17 20:18:56 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2015-05-17 20:18:56 -0300
commit0413d03e39e08104849fe5bb43f3d3ba89fe3750 (patch)
tree5978546e073212342e0ead0730503458c980fa25 /pcr/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
parent921b323f4ae7a436559f363e7642374408708c8e (diff)
downloadabslibre-0413d03e39e08104849fe5bb43f3d3ba89fe3750.tar.gz
abslibre-0413d03e39e08104849fe5bb43f3d3ba89fe3750.tar.bz2
abslibre-0413d03e39e08104849fe5bb43f3d3ba89fe3750.zip
gdk-pixbuf: add new package
Diffstat (limited to 'pcr/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch')
-rw-r--r--pcr/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch b/pcr/gdk-pixbuf/gdk-pixbuf-0.22.0-bmp_secure.patch
new file mode 100644
index 000000000..29471f147
--- /dev/null
+++ b/pcr/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;
+