2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Quoted commas were not being treated correctly in command line arguments.

This commit is contained in:
Todd C. Miller 2002-01-15 18:16:31 +00:00
parent 26e835b096
commit 08b394dc39

View File

@ -157,7 +157,7 @@ DEFVAR [a-z_]+
}
<GOTCMND>{
\\[:\,= \t#] {
\\[:\\,= \t#] {
LEXTRACE("QUOTEDCHAR ");
fill_args(yytext + 1, 1, sawspace);
sawspace = FALSE;
@ -169,7 +169,7 @@ DEFVAR [a-z_]+
return(COMMAND);
} /* end of command line args */
[^:, \t\n]+ {
[^\\:, \t\n]+ {
LEXTRACE("ARG ");
fill_args(yytext, yyleng, sawspace);
sawspace = FALSE;