mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
remove a whole swath of potential buffer overflows by removing the buffer.
Also audit a few of the "FIXME: overflow" tags
This commit is contained in:
parent
59c26b5ce0
commit
ada828bdc9
12 changed files with 246 additions and 310 deletions
|
@ -1361,8 +1361,8 @@ PF_logfrag (progs_t *pr)
|
|||
|
||||
// do gib event callback
|
||||
if (sv_frag_e->func) {
|
||||
char buf[16]; //FIXME: overflow
|
||||
char type1[2], type2[2]; //FIXME: overflow
|
||||
char buf[16];
|
||||
char type1[2], type2[2];
|
||||
int u1, u2;
|
||||
|
||||
type1[1] = type2[1] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue