Bug#799275: [GDK] patch - avoid integer overflow when allocating a large block of memory

Vlad Orlov monsta at inbox.ru
Thu Sep 17 13:01:34 UTC 2015


Source: gtk+2.0
Version: 2.24.25-3
Severity: serious
Control: tags -1 jessie patch
Control: affects -1 eom


Due to a logic error, an attempt to allocate a large block of memory
fails in gdk_cairo_set_source_pixbuf, leading to a crash of the app
that called it, for example, eom [1].

This issue had been fixed [2] in GTK+3, but the commit never made it
to GTK+2 branch. I've converted it into a patch for GTK+2.

The debdiff is in the attachment. Please apply it in Jessie.


[1] https://github.com/mate-desktop/eom/issues/93
[2] https://git.gnome.org/browse/gtk+/commit?id=894b1ae76a32720f4bb3d39cf460402e3ce331d6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk2-gdk-debdiff
Type: application/octet-stream
Size: 2580 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150917/981a49b8/attachment-0001.obj>


More information about the pkg-gnome-maintainers mailing list