r30270 - in /desktop/unstable/brasero/debian: changelog patches/02_gcc-format-security.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Thu Oct 13 19:29:46 UTC 2011


Author: biebl
Date: Thu Oct 13 19:29:45 2011
New Revision: 30270

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=30270
Log:
* debian/patches/02_gcc-format-security.patch
  - Fix format string vulnerabilities.

Added:
    desktop/unstable/brasero/debian/patches/02_gcc-format-security.patch
Modified:
    desktop/unstable/brasero/debian/changelog
    desktop/unstable/brasero/debian/patches/series

Modified: desktop/unstable/brasero/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/brasero/debian/changelog?rev=30270&op=diff
==============================================================================
--- desktop/unstable/brasero/debian/changelog [utf-8] (original)
+++ desktop/unstable/brasero/debian/changelog [utf-8] Thu Oct 13 19:29:45 2011
@@ -5,6 +5,8 @@
 
   [ Michael Biebl ]
   * Upload to unstable.
+  * debian/patches/02_gcc-format-security.patch
+    - Fix format string vulnerabilities.
 
  -- Michael Biebl <biebl at debian.org>  Thu, 13 Oct 2011 20:13:30 +0200
 

Added: desktop/unstable/brasero/debian/patches/02_gcc-format-security.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/brasero/debian/patches/02_gcc-format-security.patch?rev=30270&op=file
==============================================================================
--- desktop/unstable/brasero/debian/patches/02_gcc-format-security.patch (added)
+++ desktop/unstable/brasero/debian/patches/02_gcc-format-security.patch [utf-8] Thu Oct 13 19:29:45 2011
@@ -1,0 +1,61 @@
+Description: fix build break with -Werror=format-security
+Bug: b-g-o #661091
+Index: brasero-3.0.0/plugins/libburnia/burn-libisofs.c
+===================================================================
+--- brasero-3.0.0.orig/plugins/libburnia/burn-libisofs.c	2011-10-13 21:27:24.200281756 +0200
++++ brasero-3.0.0/plugins/libburnia/burn-libisofs.c	2011-10-13 21:27:33.956159108 +0200
+@@ -219,7 +219,7 @@
+ 	if (read_bytes == -1 && !priv->error)
+ 		priv->error = g_error_new (BRASERO_BURN_ERROR,
+ 					   BRASERO_BURN_ERROR_GENERAL,
+-					   _("Volume could not be created"));
++					   "%s", _("Volume could not be created"));
+ }
+ 
+ static void
+@@ -567,7 +567,7 @@
+ 	brasero_job_get_data_label (BRASERO_JOB (self), &label);
+ 	if (!iso_image_new (label, &image)) {
+ 		priv->error = g_error_new (BRASERO_BURN_ERROR,
+-					   BRASERO_BURN_ERROR_GENERAL,
++					   BRASERO_BURN_ERROR_GENERAL, "%s",
+ 					   _("Volume could not be created"));
+ 		g_free (label);
+ 		goto end;
+Index: brasero-3.0.0/plugins/transcode/burn-transcode.c
+===================================================================
+--- brasero-3.0.0.orig/plugins/transcode/burn-transcode.c	2011-10-13 21:27:24.184281957 +0200
++++ brasero-3.0.0/plugins/transcode/burn-transcode.c	2011-10-13 21:27:33.956159108 +0200
+@@ -1346,7 +1346,7 @@
+ 	if (duration == -1 || duration == 0)	
+ 	    brasero_job_error (BRASERO_JOB (transcode),
+ 			       g_error_new (BRASERO_BURN_ERROR,
+-					    BRASERO_BURN_ERROR_GENERAL,
++					    BRASERO_BURN_ERROR_GENERAL, "%s",
+ 					    _("Error while getting duration")));
+ 	return duration;
+ }
+Index: brasero-3.0.0/plugins/libburnia/burn-libburn-common.c
+===================================================================
+--- brasero-3.0.0.orig/plugins/libburnia/burn-libburn-common.c	2011-10-13 21:27:24.288280650 +0200
++++ brasero-3.0.0/plugins/libburnia/burn-libburn-common.c	2011-10-13 21:27:34.252155386 +0200
+@@ -222,6 +222,7 @@
+ 	BRASERO_JOB_LOG (self, "Libburn reported an error %s", err_txt);
+ 	error = g_error_new (BRASERO_BURN_ERROR,
+ 			     BRASERO_BURN_ERROR_GENERAL,
++			     "%s",
+ 			     err_txt);
+ 	brasero_job_error (BRASERO_JOB (self), error);
+ 	return FALSE;
+Index: brasero-3.0.0/plugins/libburnia/burn-libburn.c
+===================================================================
+--- brasero-3.0.0.orig/plugins/libburnia/burn-libburn.c	2011-10-13 21:27:24.308280398 +0200
++++ brasero-3.0.0/plugins/libburnia/burn-libburn.c	2011-10-13 21:27:34.308154682 +0200
+@@ -564,6 +564,7 @@
+ 		g_set_error (error,
+ 			     BRASERO_BURN_ERROR,
+ 			     BRASERO_BURN_ERROR_GENERAL,
++			     "%s",
+ 			     reason);
+ 		return BRASERO_BURN_ERR;
+ 	}

Modified: desktop/unstable/brasero/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/brasero/debian/patches/series?rev=30270&op=diff
==============================================================================
--- desktop/unstable/brasero/debian/patches/series [utf-8] (original)
+++ desktop/unstable/brasero/debian/patches/series [utf-8] Thu Oct 13 19:29:45 2011
@@ -1,1 +1,2 @@
 01_libtracker-sparql-0.10.patch
+02_gcc-format-security.patch




More information about the pkg-gnome-commits mailing list