diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2016-01-10 21:51:52 +0100 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2016-01-10 21:52:23 +0100 |
commit | 9952b9d179ac3b9ecd511773e3f564d2c80119b2 (patch) | |
tree | 953747da4a44c3e70a7e262c99beabf7945b785c /games-puzzle | |
parent | dev-java/gnu-classpath: Build with regular javac instead of ECJ (diff) | |
download | gentoo-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')
-rw-r--r-- | games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch | 2 |
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); |