make sure 'path' buffer is large enough to fit 200 characters plus null terminator

This commit is contained in:
Bas van Schaik 2015-12-03 13:37:08 +00:00
parent fa9aca4930
commit 1158f25eae
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ void map_read(struct map_ent **melp)
{
FILE *f;
char buf[8192];
char path[200];
char path[201];
int uuid[4];
char devnm[32];
char metadata[30];