]> granicus.if.org Git - sudo/commitdiff
Don't quote *?[]! on output since the lexer does not strip off the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 8 Nov 2007 12:24:41 +0000 (12:24 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 8 Nov 2007 12:24:41 +0000 (12:24 +0000)
backslash when reading those in.

parse.c

diff --git a/parse.c b/parse.c
index 9a3af430bbee76386e1ecb2539eca9eec133f0ce..145e4d90e7b5723053b6ddf5be06a003944da02f 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -53,7 +53,7 @@ __unused static const char rcsid[] = "$Sudo$";
 #endif /* lint */
 
 /* Characters that must be quoted in sudoers */
-#define SUDOERS_QUOTED "*?[]!:\\,=#\""
+#define SUDOERS_QUOTED ":\\,=#\""
 
 /*
  * Local prototypes.