summaryrefslogtreecommitdiffstats
path: root/media-libs/gdk-pixbuf/files/gdk-pixbuf-0.22.0-bmp_secure.patch
blob: 29471f1477ecdb5cc315acb4933f961ac7430442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;