r44214 - in /desktop/unstable/gnome-font-viewer/debian: changelog patches/git_variable_init.patch patches/series

laney at users.alioth.debian.org laney at users.alioth.debian.org
Fri Apr 10 09:36:33 UTC 2015


Author: laney
Date: Fri Apr 10 09:36:33 2015
New Revision: 44214

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=44214
Log:
Cherry-pick an upstream patch to fix a crash when operating on certain
invalid files (Closes: #781229) (LP: #1436736)

Added:
    desktop/unstable/gnome-font-viewer/debian/patches/git_variable_init.patch
Modified:
    desktop/unstable/gnome-font-viewer/debian/changelog
    desktop/unstable/gnome-font-viewer/debian/patches/series

Modified: desktop/unstable/gnome-font-viewer/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-font-viewer/debian/changelog?rev=44214&op=diff
==============================================================================
--- desktop/unstable/gnome-font-viewer/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-font-viewer/debian/changelog	[utf-8] Fri Apr 10 09:36:33 2015
@@ -1,3 +1,10 @@
+gnome-font-viewer (3.14.0-2) UNRELEASED; urgency=medium
+
+  * Cherry-pick an upstream patch to fix a crash when operating on certain
+    invalid files (Closes: #781229) (LP: #1436736)
+
+ -- Sebastien Bacher <seb128 at ubuntu.com>  Thu, 26 Mar 2015 09:54:17 +0100
+
 gnome-font-viewer (3.14.0-1) unstable; urgency=medium
 
   * New upstream release.

Added: desktop/unstable/gnome-font-viewer/debian/patches/git_variable_init.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-font-viewer/debian/patches/git_variable_init.patch?rev=44214&op=file
==============================================================================
--- desktop/unstable/gnome-font-viewer/debian/patches/git_variable_init.patch	(added)
+++ desktop/unstable/gnome-font-viewer/debian/patches/git_variable_init.patch	[utf-8] Fri Apr 10 09:36:33 2015
@@ -0,0 +1,28 @@
+From 9d4ec7300bbe57c2ebf36d292f6b574f27325fbc Mon Sep 17 00:00:00 2001
+From: Matthias Clasen <mclasen at redhat.com>
+Date: Thu, 13 Nov 2014 14:25:09 -0500
+Subject: Fix an uninitialized variable
+
+The str variable may be freed without ever having been set
+here, if we take one of the early gotos. This is showing up
+as a frequent crash in Fedoras retrace server:
+
+https://bugzilla.redhat.com/show_bug.cgi?id=1148522
+
+diff --git a/src/font-thumbnailer.c b/src/font-thumbnailer.c
+index 3e76323..57be150 100644
+--- a/src/font-thumbnailer.c
++++ b/src/font-thumbnailer.c
+@@ -181,7 +181,7 @@ main (int argc,
+     cairo_t *cr;
+     cairo_text_extents_t text_extents;
+     cairo_font_face_t *font;
+-    gchar *str;
++    gchar *str = NULL;
+     gdouble scale, scale_x, scale_y;
+ 
+     const GOptionEntry options[] = {
+-- 
+cgit v0.10.2
+
+

Modified: desktop/unstable/gnome-font-viewer/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-font-viewer/debian/patches/series?rev=44214&op=diff
==============================================================================
--- desktop/unstable/gnome-font-viewer/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gnome-font-viewer/debian/patches/series	[utf-8] Fri Apr 10 09:36:33 2015
@@ -0,0 +1 @@
+git_variable_init.patch




More information about the pkg-gnome-commits mailing list