1 |
nyhm 09/06/21 09:29:32 |
2 |
|
3 |
Added: alienarena-20090616-path-overflows.patch |
4 |
Log: |
5 |
Version bump |
6 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-fps/alienarena/files/alienarena-20090616-path-overflows.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/files/alienarena-20090616-path-overflows.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/files/alienarena-20090616-path-overflows.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: alienarena-20090616-path-overflows.patch |
15 |
=================================================================== |
16 |
--- source/game/acesrc/acebot_nodes.c |
17 |
+++ source/game/acesrc/acebot_nodes.c |
18 |
@@ -719,7 +719,7 @@ |
19 |
void ACEND_SaveNodes() |
20 |
{ |
21 |
FILE *pOut; |
22 |
- char filename[60]; |
23 |
+ char filename[MAX_OSPATH]; |
24 |
int i,j; |
25 |
int version = 1; |
26 |
|
27 |
@@ -760,7 +760,7 @@ |
28 |
{ |
29 |
FILE *pIn; |
30 |
int i,j; |
31 |
- char filename[60]; |
32 |
+ char filename[MAX_OSPATH]; |
33 |
int version; |
34 |
|
35 |
strcpy(filename,BOTDIR"/botinfo/nav/"); |
36 |
--- source/game/acesrc/acebot_spawn.c |
37 |
+++ source/game/acesrc/acebot_spawn.c |
38 |
@@ -119,7 +119,7 @@ |
39 |
int i, j, count, spawnkicknum; |
40 |
char *info; |
41 |
char *skin; |
42 |
- char bot_filename[128]; |
43 |
+ char bot_filename[MAX_OSPATH]; |
44 |
int found; |
45 |
int real_players, total_players; |
46 |
edict_t *cl_ent; |
47 |
@@ -226,7 +226,7 @@ |
48 |
{ |
49 |
FILE *pIn; |
50 |
int count; |
51 |
- char bot_filename[128]; |
52 |
+ char bot_filename[MAX_OSPATH]; |
53 |
|
54 |
//bots and configurations are loaded level specific |
55 |
if (((int)(dmflags->value) & DF_SKINTEAMS) || ctf->value || tca->value || cp->value) |
56 |
--- source/ref_gl/r_model.c |
57 |
+++ source/ref_gl/r_model.c |
58 |
@@ -1689,7 +1689,7 @@ |
59 |
|
60 |
void R_BeginRegistration (char *model) |
61 |
{ |
62 |
- char fullname[MAX_QPATH]; |
63 |
+ char fullname[MAX_OSPATH]; |
64 |
char *path; |
65 |
cvar_t *flushmap; |
66 |
FILE *file; |