gdk-pixbuf-0.22.0-bmp_secure.patch 557 B

1234567891011121314151617181920
  1. Index: io-bmp.c
  2. ===================================================================
  3. RCS file: /cvs/gnome/gtk+/gdk-pixbuf/io-bmp.c,v
  4. retrieving revision 1.41
  5. diff -u -p -r1.41 io-bmp.c
  6. --- gdk-pixbuf/io-bmp.c 13 Aug 2004 02:26:57 -0000 1.41
  7. +++ gdk-pixbuf/io-bmp.c 20 Aug 2004 00:18:14 -0000
  8. @@ -876,8 +876,10 @@ DoCompressed(struct bmp_progressive_stat
  9. guchar c;
  10. gint idx;
  11. - if (context->compr.y >= context->Header.height)
  12. + if (context->compr.y >= context->Header.height) {
  13. + context->BufferDone = 0;
  14. return TRUE;
  15. + }
  16. y = context->compr.y;