fix a potential buffer overflow

This commit is contained in:
Bill Currie 2000-02-14 20:28:22 +00:00
parent 9ed247178f
commit b099908cc7

View file

@ -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;