wmfsm: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow.

This commit is contained in:
Doug Torrance 2015-08-21 02:20:19 -04:00 committed by Carlos R. Mafra
parent fcee42b130
commit 6fb80be9e0

View file

@ -513,7 +513,7 @@ readFileSystems()
#else /* __OpenBSD__ || __FreeBSD__ */
FILE *fp;
char mountPoint[255], dummy[255], fstype[255], options[255];
char mountPoint[255], dummy[255], fstype[255], options[512];
#if defined(SunOS)
/* Solaris uses /etc/mnttab */