This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository xpenguins.

commit aa6cfa20326e56f7643be4514a755febc857394f
Author: Alexander Reichle-Schmehl <[email protected]>
Date:   Mon Oct 24 15:46:40 2011 +0000

    Fix "fixes "format not a string literal and no format arguments" error
---
 debian/changelog                      |  5 ++++-
 debian/patches/format_string_fix.diff | 11 +++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fd62883..7ef4559 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,11 @@ xpenguins (2.2-8) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
   * Move to quilt as patch manager
+  * Add patches/format_string_fix.diff; fixes "format not a string literal and
+    no format arguments" error (Closes: #646491)
+  * Urgency set to medium, as the above is release critical
 
- -- Alexander Reichle-Schmehl <[email protected]>  Mon, 24 Oct 2011 17:39:32 
+0200
+ -- Alexander Reichle-Schmehl <[email protected]>  Mon, 24 Oct 2011 17:44:56 
+0200
 
 xpenguins (2.2-7) unstable; urgency=low
 
diff --git a/debian/patches/format_string_fix.diff 
b/debian/patches/format_string_fix.diff
new file mode 100644
index 0000000..a0a8573
--- /dev/null
+++ b/debian/patches/format_string_fix.diff
@@ -0,0 +1,11 @@
+--- a/src/xpenguins_theme.c
++++ b/src/xpenguins_theme.c
+@@ -615,7 +615,7 @@ __xpenguins_append_theme(char *name, XPe
+           xpm_file_name = word;
+         }
+         else {
+-          snprintf(file_base, MAX_STRING_LENGTH, word);
++          snprintf(file_base, MAX_STRING_LENGTH, "%s", word);
+           xpm_file_name = file_name;
+         }
+         if (current->image) {
diff --git a/debian/patches/series b/debian/patches/series
index 6bc3a93..9822e28 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_HOMEsegfault.diff
 02_randomtheme.diff
+format_string_fix.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/xpenguins.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to