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

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Sun Jan 13 16:30:43 UTC 2013


The following commit has been merged in the master branch:
commit 14de0d233decc87e58999e8c4dfe66f78b5185a9
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Sun Jan 13 17:03:11 2013 +0100

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

diff --git a/debian/patches/0009-fix_format-security_issue.patch b/debian/patches/0009-fix_format-security_issue.patch
new file mode 100644
index 0000000..bf46fcb
--- /dev/null
+++ b/debian/patches/0009-fix_format-security_issue.patch
@@ -0,0 +1,24 @@
+From: "Matteo F. Vescovi" <mfv.debian at gmail.com>
+Date: Sun, 13 Jan 2013 10:47:51 +0100
+Subject: fix_format-security_issue
+
+File source/gameengine/Ketsji/KX_KetsjiEngine.cpp
+needs a little adjustment to let blender build fine
+on Debian.
+---
+ source/gameengine/Ketsji/KX_KetsjiEngine.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
+index 87683f8..fe20756 100644
+--- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
++++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
+@@ -1499,7 +1499,7 @@ void KX_KetsjiEngine::RenderDebugProperties()
+ 	{
+ 		for (int j = tc_first; j < tc_numCategories; j++)
+ 		{
+-			debugtxt.Format(m_profileLabels[j]);
++			debugtxt.Format("%s", m_profileLabels[j]);
+ 			m_rendertools->RenderText2D(RAS_IRenderTools::RAS_TEXT_PADDED,
+ 			                            debugtxt.Ptr(),
+ 			                            xcoord + const_xindent,
diff --git a/debian/patches/series b/debian/patches/series
index fdfc048..cf0d4eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0006-update_manpages.patch
 0007-do_not_use_version_number_in_system_path.patch
 0008-look_for_droid_ttf_with_fontconfig.patch
+0009-fix_format-security_issue.patch

-- 
blender packaging



More information about the pkg-multimedia-commits mailing list