[Pkg-wmaker-commits] [wmfsm] 72/83: wmfsm: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 14:05:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmfsm.

commit 6fe897dc138a870103643beed2cfefc62dd8e0fc
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Fri Aug 21 02:20:19 2015 -0400

    wmfsm: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow.
---
 wmfsm/wmfsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmfsm/wmfsm.c b/wmfsm/wmfsm.c
index 46c5395..3032b76 100644
--- a/wmfsm/wmfsm.c
+++ b/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 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfsm.git



More information about the Pkg-wmaker-commits mailing list