[hackers] [sbase] check for valid octal input and crude range check on that for validity || dsp

From: <git_AT_suckless.org>
Date: Sat, 01 Feb 2014 20:51:01 +0100

commit 2e98468788fd42850622d78f29e49b92a120914a
Author: dsp <dsp_AT_2f30.org>
Date: Sat Feb 1 19:48:57 2014 +0000

    check for valid octal input and crude range check on that for validity

diff --git a/chmod.c b/chmod.c
index d0b7a4e..abedb53 100644
--- a/chmod.c
+++ b/chmod.c
_AT_@ -93,6 +93,7 @@ parsemode(const char *str)
 
         octal = strtol(str, &end, 8);
         if(*end == '
Received on Sat Feb 01 2014 - 20:51:01 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 01 2014 - 21:00:11 CET