mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
'\\' is a perfectly legal character to have in a command line argument.
This commit is contained in:
@@ -143,7 +143,7 @@ DEFVAR [a-z_]+
|
||||
}
|
||||
|
||||
<GOTCMND>{
|
||||
\\[:\,=\\ \t#] {
|
||||
\\[:\,= \t#] {
|
||||
LEXTRACE("QUOTEDCHAR ");
|
||||
fill_args(yytext + 1, 1, sawspace);
|
||||
sawspace = FALSE;
|
||||
@@ -155,7 +155,7 @@ DEFVAR [a-z_]+
|
||||
return(COMMAND);
|
||||
} /* end of command line args */
|
||||
|
||||
[^\\:, \t\n]+ {
|
||||
[^:, \t\n]+ {
|
||||
LEXTRACE("ARG ");
|
||||
fill_args(yytext, yyleng, sawspace);
|
||||
sawspace = FALSE;
|
||||
|
Reference in New Issue
Block a user