#582960 libgtk2.0-0: gdk_pixbuf_composite crashes

Package:
libgtk2.0-0
Source:
gtk+2.0
Description:
GTK graphical user interface library - old version
Submitter:
Tony Houghton
Date:
2010-05-24 22:06:04 UTC
Severity:
normal
#582960#5
Date:
2010-05-24 21:56:53 UTC
From:
To:
gdk_pixbuf_composite crashes in an application I haven't used for some
time. It didn't have this problem last time I used it, with an earlier
version of gtk.

The offending call is:

    gdk_pixbuf_composite(self->emblem, base, 0, 0,
            (int) ((double) priv->width * scale),
            (int) ((double) priv->height * scale),
            0, 0, scale, scale, GDK_INTERP_HYPER, 255);

where priv->width and priv->height are both 14 and scale is 0.571429 and
base is bigger than the scaled emblem FWIW. emblem and base both seem OK
because if I alter the function to return either of them instead of
building a composite they get displayed OK.

Bug report attached.