]> granicus.if.org Git - sudo/commitdiff
Reset used_runas to FALSE when re-intializing the parser.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 11 Aug 2004 18:29:10 +0000 (18:29 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 11 Aug 2004 18:29:10 +0000 (18:29 +0000)
parse.yacc

index 3bc5ff7cf3b636dbcc3cc969d87cf73a6f9d00f4..a171449efdd234b195468909e1e1c39ad3c4ce03 100644 (file)
@@ -1231,6 +1231,7 @@ init_parser()
        match = NULL;
        top = 0;
        parse_error = FALSE;
+       used_runas = FALSE;
        errorlineno = -1;
        sudolineno = 1;
     }