diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2016-01-18 20:20:00 +0100 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2016-01-18 20:20:31 +0100 |
commit | e3a760e62c0a9d431cc9d3f7f84fa0e62ef5046b (patch) | |
tree | 59fc8b51f8ccdae5323770d7ac5278c8213fc9c8 /games-fps/alienarena/files | |
parent | dev-python/pymongo: version bump (diff) | |
download | gentoo-e3a760e62c0a9d431cc9d3f7f84fa0e62ef5046b.tar.gz gentoo-e3a760e62c0a9d431cc9d3f7f84fa0e62ef5046b.tar.bz2 gentoo-e3a760e62c0a9d431cc9d3f7f84fa0e62ef5046b.zip |
games-fps/alienarena: Fix format-security. Bug #571894
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-fps/alienarena/files')
-rw-r--r-- | games-fps/alienarena/files/alienarena-20130827-format.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-fps/alienarena/files/alienarena-20130827-format.patch b/games-fps/alienarena/files/alienarena-20130827-format.patch new file mode 100644 index 000000000000..4a88eab840fc --- /dev/null +++ b/games-fps/alienarena/files/alienarena-20130827-format.patch @@ -0,0 +1,11 @@ +--- source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100 ++++ source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100 +@@ -2123,7 +2123,7 @@ + #else
+ ent->ctype = 0; //alien is default
+ sprintf(modelpath, "players/%s/human", playermodel);
+- sprintf(ent->charModel, playermodel);
++ sprintf(ent->charModel, "%s", playermodel);
+ Q2_FindFile (modelpath, &file);
+ if(file)
+ {
|