From 9952b9d179ac3b9ecd511773e3f564d2c80119b2 Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Sun, 10 Jan 2016 21:51:52 +0100 Subject: [PATCH] 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 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); -- 2.26.2