summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-bmp.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-04-09 21:57:04 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-04-09 21:57:04 +0000
commitc3fd4aaf8e6a60f141a29b703f248174fd7874dc (patch)
tree9a6ffafb181d72a939fd6df9e3bd2b58c08dc37e /gdk-pixbuf/io-bmp.c
parent41726d203072e87d0b8ccb463f60bab6f2155d26 (diff)
downloadgdk-pixbuf-c3fd4aaf8e6a60f141a29b703f248174fd7874dc.tar.gz
Don't display too many broken images. (#169870, Roman Kagan, patch by Ivan
2005-04-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose): Don't display too many broken images. (#169870, Roman Kagan, patch by Ivan Wong) * gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging output. (#300013, Tommi Komulainen) * io-bmp.c (gdk_pixbuf__bmp_image_save_to_callback): Don't overflow the stack. (Jakub Jelinek, Arjan van de Ven)
Diffstat (limited to 'gdk-pixbuf/io-bmp.c')
-rw-r--r--gdk-pixbuf/io-bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-bmp.c b/gdk-pixbuf/io-bmp.c
index c754431fc..ffde9ab12 100644
--- a/gdk-pixbuf/io-bmp.c
+++ b/gdk-pixbuf/io-bmp.c
@@ -1155,7 +1155,7 @@ gdk_pixbuf__bmp_image_save_to_callback (GdkPixbufSaveFunc save_func,
GError **error)
{
guint width, height, channel, size, stride, src_stride, x, y;
- guchar BFH_BIH[40], *pixels, *buf, *src, *dst, *dst_line;
+ guchar BFH_BIH[54], *pixels, *buf, *src, *dst, *dst_line;
gboolean ret;
width = gdk_pixbuf_get_width (pixbuf);