GNOME Bugzilla – Bug 762027
>=gnome-photos-3.16 is affected by CVE-2013-7447
Last modified: 2016-03-11 22:06:33 UTC
As reported in: https://bugs.gentoo.org/show_bug.cgi?id=574372 https://bugs.gentoo.org/show_bug.cgi?id=574378 gnome-photos is affected by CVE-2013-7447 (bug #703220). In 3.18 I see: $ grep -r "cairo_pixels" -- * src/photos-print-preview.c: guchar *cairo_pixels; src/photos-print-preview.c: cairo_pixels = g_malloc (height * cairo_stride); src/photos-print-preview.c: surface = cairo_image_surface_create_for_data ((unsigned char *)cairo_pixels, src/photos-print-preview.c: cairo_pixels, (cairo_destroy_func_t)g_free); src/photos-print-preview.c: guchar *q = cairo_pixels; src/photos-print-preview.c: cairo_pixels += cairo_stride; Thanks
Created attachment 323708 [details] [review] Fix possible integer overflow
Created attachment 323713 [details] [review] Fix possible integer overflow Better fix: use gdk provided function to create the surface.
Review of attachment 323713 [details] [review]: Looks perfect. Thanks.
@Debarshi: Should an email be sent to https://mail.gnome.org/mailman/listinfo/distributor-list to recommend backporting?
(In reply to André Klapper from comment #4) > @Debarshi: Should an email be sent to > https://mail.gnome.org/mailman/listinfo/distributor-list to recommend > backporting? Good point. Initially I thought that this isn't that important to warrant another 3.18.x release, but I now see that eog did make a new 3.18.x with this patch. So, I have now cherry-picked it to gnome-3-18. Will spin a new tarball over the weekend. Thanks for the poke. :)