summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2016-01-10 21:51:52 +0100
committerTupone Alfredo <tupone@gentoo.org>2016-01-10 21:52:23 +0100
commit9952b9d179ac3b9ecd511773e3f564d2c80119b2 (patch)
tree953747da4a44c3e70a7e262c99beabf7945b785c /games-puzzle/icebreaker
parentdev-java/gnu-classpath: Build with regular javac instead of ECJ (diff)
downloadgentoo-9952b9d179ac3b9ecd511773e3f564d2c80119b2.tar.gz
gentoo-9952b9d179ac3b9ecd511773e3f564d2c80119b2.tar.bz2
gentoo-9952b9d179ac3b9ecd511773e3f564d2c80119b2.zip
games-puzzle/icebreaker: Fix format-security. Bug #537226
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-puzzle/icebreaker')
-rw-r--r--games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch2
1 files changed, 1 insertions, 1 deletions
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 5a59b04f79af..03050be548fb 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);