diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2015-12-08 21:46:12 +0100 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2015-12-08 21:46:12 +0100 |
commit | b11605f98ffe86003f351b97d7c975c554bf19a6 (patch) | |
tree | 43df7d4e887fc63a4448de2ce79a2a23a7561b07 /games-puzzle/quadra/files | |
parent | sys-boot/grub:0 - add missing slot-operator dep on ncurses when USE="-static" (diff) | |
download | gentoo-b11605f98ffe86003f351b97d7c975c554bf19a6.tar.gz gentoo-b11605f98ffe86003f351b97d7c975c554bf19a6.tar.bz2 gentoo-b11605f98ffe86003f351b97d7c975c554bf19a6.zip |
games-puzzle/quadra: Compile with format-security. Bug #544354
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-puzzle/quadra/files')
-rw-r--r-- | games-puzzle/quadra/files/quadra-1.2.0-format.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch new file mode 100644 index 000000000000..d9db4978290f --- /dev/null +++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch @@ -0,0 +1,11 @@ +--- source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100 ++++ source/net_list.cpp 2015-12-08 21:41:33.153114600 +0100 +@@ -693,7 +693,7 @@ + //Drawn at a total higher or equal to end_value: suspense! + // or maybe timer just elapsed and the game is drawn + // (still suspense! :)) +- sprintf(st, ST_GAMETIED); ++ sprintf(st, "%s", ST_GAMETIED); + message(-1, st); + { Sfx stmp(sons.levelup, 0, 0, -1, 18050); } + { Sfx stmp(sons.levelup, 0, 0, -1, 18100); } |