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
commita75e27c0a4a80d5accbd6783a4bb1fbf8a75e2c4 (patch)
treef8c230a965593f3457c63b813be69acf04b40559 /gdk-pixbuf/io-bmp.c
parent62fee90c16ee613649ac7fccee43bd9346ff8058 (diff)
downloadgdk-pixbuf-a75e27c0a4a80d5accbd6783a4bb1fbf8a75e2c4.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);