summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/alienarena/files/alienarena-20070613-format-strings.patch')
-rw-r--r--games-fps/alienarena/files/alienarena-20070613-format-strings.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/games-fps/alienarena/files/alienarena-20070613-format-strings.patch b/games-fps/alienarena/files/alienarena-20070613-format-strings.patch
deleted file mode 100644
index daa8b37a4ec4..000000000000
--- a/games-fps/alienarena/files/alienarena-20070613-format-strings.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-# fix-CVE-2007-4754-CVE-2007-4755.dpatch by Nico Golde <nion@debian.org>
-
---- source/game/acesrc/acebot_cmds.c
-+++ source/game/acesrc/acebot_cmds.c
-@@ -142,7 +142,7 @@
- va_end (argptr);
-
- if (dedicated->value)
-- gi.cprintf(NULL, PRINT_MEDIUM, bigbuffer);
-+ gi.cprintf(NULL, PRINT_MEDIUM, "%s", bigbuffer);
-
- for (i=0 ; i<maxclients->value ; i++)
- {
-@@ -150,7 +150,7 @@
- if (!cl_ent->inuse || cl_ent->is_bot)
- continue;
-
-- gi.cprintf(cl_ent, PRINT_MEDIUM, bigbuffer);
-+ gi.cprintf(cl_ent, PRINT_MEDIUM, "%s", bigbuffer);
- }
-
- }
-@@ -171,7 +171,7 @@
- len = vsprintf (bigbuffer,fmt,argptr);
- va_end (argptr);
-
-- gi.cprintf(ent, printlevel, bigbuffer);
-+ gi.cprintf(ent, printlevel, "%s", bigbuffer);
-
- }
-
-@@ -191,7 +191,7 @@
- len = vsprintf (bigbuffer,fmt,argptr);
- va_end (argptr);
-
-- gi.centerprintf(ent, bigbuffer);
-+ gi.centerprintf(ent,"%s", bigbuffer);
-
- }
-
-@@ -211,7 +211,7 @@
- va_end (argptr);
-
- if (dedicated->value)
-- gi.cprintf(NULL, printlevel, bigbuffer);
-+ gi.cprintf(NULL, printlevel, "%s", bigbuffer);
-
- for (i=0 ; i<maxclients->value ; i++)
- {
-@@ -219,7 +219,7 @@
- if (!cl_ent->inuse || cl_ent->is_bot)
- continue;
-
-- gi.cprintf(cl_ent, printlevel, bigbuffer);
-+ gi.cprintf(cl_ent, printlevel, "%s", bigbuffer);
- }
- }
-