From 6fb80be9e0dc14a4ec73737dd5920fd5084dcc87 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 21 Aug 2015 02:20:19 -0400 Subject: [PATCH] wmfsm: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow. --- wmfsm/wmfsm/wmfsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmfsm/wmfsm/wmfsm.c b/wmfsm/wmfsm/wmfsm.c index 46c5395..3032b76 100644 --- a/wmfsm/wmfsm/wmfsm.c +++ b/wmfsm/wmfsm/wmfsm.c @@ -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 */