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
|
@ -183,7 +183,7 @@ static void
|
|||
SV_SendServerinfo (client_t *client)
|
||||
{
|
||||
const char **s;
|
||||
char message[2048];
|
||||
char message[2048];
|
||||
|
||||
MSG_WriteByte (&client->message, svc_print);
|
||||
snprintf (message, sizeof (message), "%c\nVersion %s server (%i CRC)", 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue