Add an extra sanity check in parse_mode

-Erik
This commit is contained in:
Eric Andersen 2000-09-01 00:06:17 +00:00
parent ad3d90f91e
commit 4e61db2284

View File

@ -743,6 +743,9 @@ extern int parse_mode(const char *s, mode_t * theMode)
char type;
char c;
if (s==NULL)
return (FALSE);
do {
for (;;) {
switch (c = *s++) {