r33976 - in /desktop/unstable/librsvg/debian: changelog patches/20_rsvg_compat.patch

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Mon Apr 2 03:47:21 UTC 2012


Author: biebl
Date: Mon Apr  2 03:47:20 2012
New Revision: 33976

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=33976
Log:
Fix segfault by duplicating the output string.

Modified:
    desktop/unstable/librsvg/debian/changelog
    desktop/unstable/librsvg/debian/patches/20_rsvg_compat.patch

Modified: desktop/unstable/librsvg/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/librsvg/debian/changelog?rev=33976&op=diff
==============================================================================
--- desktop/unstable/librsvg/debian/changelog [utf-8] (original)
+++ desktop/unstable/librsvg/debian/changelog [utf-8] Mon Apr  2 03:47:20 2012
@@ -1,3 +1,9 @@
+librsvg (2.36.0-5) UNRELEASED; urgency=low
+
+  * Fix segfault by duplicating the output string.
+
+ -- Michael Biebl <biebl at debian.org>  Mon, 02 Apr 2012 05:44:14 +0200
+
 librsvg (2.36.0-4) unstable; urgency=low
 
   * rsvg didn't expect an -o parameter for the output file so apply some

Modified: desktop/unstable/librsvg/debian/patches/20_rsvg_compat.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/librsvg/debian/patches/20_rsvg_compat.patch?rev=33976&op=diff
==============================================================================
--- desktop/unstable/librsvg/debian/patches/20_rsvg_compat.patch [utf-8] (original)
+++ desktop/unstable/librsvg/debian/patches/20_rsvg_compat.patch [utf-8] Mon Apr  2 03:47:20 2012
@@ -28,7 +28,7 @@
 +    if (rsvg_compat) {
 +        /* We are being called as rsvg. Apply some compat magic */
 +        if (n_args == 2) {
-+            output = args[1];
++            output = g_strdup (args[1]);
 +            n_args = 1;
 +        } else {
 +            fprintf (stderr, _("Please supply an input and output file.\n"));




More information about the pkg-gnome-commits mailing list