mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 11:51:17 +00:00
fix a potential buffer overflow
This commit is contained in:
parent
9ed247178f
commit
b099908cc7
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ input_pi *IN;
|
|||
void *_plugin_load(const char *filename)
|
||||
{
|
||||
void *h;
|
||||
char path_buf[MAXPATHLEN*2+1];
|
||||
char path_buf[MAXPATHLEN*2+1+1];
|
||||
char *path,*end;
|
||||
int len;
|
||||
|
||||
|
|
Loading…
Reference in a new issue