commit: 9952b9d179ac3b9ecd511773e3f564d2c80119b2
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 20:51:52 2016 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 20:52:23 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9952b9d1
games-puzzle/icebreaker: Fix format-security. Bug #537226
Package-Manager: portage-2.2.26
games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
index 5a59b04..03050be 100644
--- a/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
+++ b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch
@@ -14,7 +14,7 @@
if (t<0) t=themecount;
strncpy(val,themelist[(t-1)%themecount],MAXMENUVALUELENGTH);
-
snprintf(options.theme,MAXMENUVALUELENGTH,themelist[(t-1)%themecount]);
-+
snprintf(options.theme,MAXTHEMENAMELENGTH,themelist[(t-1)%themecount]);
++
snprintf(options.theme,MAXTHEMENAMELENGTH,"%s",themelist[(t-1)%themecount]);
}
settheme(options.theme);