[SCM] blender/master: debian/patches/: #0010 added to fix format-security issue

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Wed Jun 5 16:14:19 UTC 2013


The following commit has been merged in the master branch:
commit 85d0c6ab53235c21d2131610a1b2a1ef7d696fa4
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Fri May 24 17:49:37 2013 +0200

    debian/patches/: #0010 added to fix format-security issue

diff --git a/debian/patches/0010-fix_format-security_issue.patch b/debian/patches/0010-fix_format-security_issue.patch
new file mode 100644
index 0000000..7eb79d0
--- /dev/null
+++ b/debian/patches/0010-fix_format-security_issue.patch
@@ -0,0 +1,24 @@
+From: "Matteo F. Vescovi" <mfv.debian at gmail.com>
+Date: Thu, 23 May 2013 17:45:08 +0200
+Subject: fix_format-security_issue
+
+---
+ source/blender/editors/render/render_internal.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c
+index 36a5427..d3edb88 100644
+--- a/source/blender/editors/render/render_internal.c
++++ b/source/blender/editors/render/render_internal.c
+@@ -294,9 +294,9 @@ static void make_renderinfo_string(RenderStats *rs, Scene *scene, char *str)
+ 	megs_peak_memory = (peak_memory) / (1024.0 * 1024.0);
+ 
+ 	if (scene->lay & 0xFF000000)
+-		spos += sprintf(spos, IFACE_("Localview | "));
++		spos += sprintf("%s", spos, IFACE_("Localview | "));
+ 	else if (scene->r.scemode & R_SINGLE_LAYER)
+-		spos += sprintf(spos, IFACE_("Single Layer | "));
++		spos += sprintf("%s", spos, IFACE_("Single Layer | "));
+ 
+ 	spos += sprintf(spos, IFACE_("Frame:%d "), (scene->r.cfra));
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 19d575b..91696ce 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 0007-do_not_use_version_number_in_system_path.patch
 0008-look_for_droid_ttf_with_fontconfig.patch
 0009-fix_illegal_hardware_instruction_due_to_SSE2.patch
+0010-fix_format-security_issue.patch

-- 
blender packaging



More information about the pkg-multimedia-commits mailing list