mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 12:40:42 +00:00
fix a minor but important thinko that caused a nasty seg
This commit is contained in:
parent
5e4d7e4376
commit
abb1469364
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ PF_sprintf (progs_t *pr)
|
|||
format = G_STRING (pr, OFS_PARM0);
|
||||
c = format;
|
||||
|
||||
out = malloc (out_size);
|
||||
out = malloc (out_max);
|
||||
if (!out)
|
||||
goto mallocerror;
|
||||
|
||||
|
|
Loading…
Reference in a new issue