Save entries that match a ! command on the matching stack too
This commit is contained in:
@@ -268,7 +268,7 @@ cmndspeclist : cmndspec
|
||||
|
||||
cmndspec : { /* Push a new entry onto the stack if needed */
|
||||
if (user_matches == TRUE && host_matches == TRUE &&
|
||||
cmnd_matches == TRUE && runas_matches == TRUE) {
|
||||
cmnd_matches != -1 && runas_matches == TRUE) {
|
||||
push;
|
||||
user_matches = TRUE;
|
||||
host_matches = TRUE;
|
||||
|
@@ -1120,7 +1120,7 @@ case 22:
|
||||
#line 269 "parse.yacc"
|
||||
{ /* Push a new entry onto the stack if needed */
|
||||
if (user_matches == TRUE && host_matches == TRUE &&
|
||||
cmnd_matches == TRUE && runas_matches == TRUE) {
|
||||
cmnd_matches != -1 && runas_matches == TRUE) {
|
||||
push;
|
||||
user_matches = TRUE;
|
||||
host_matches = TRUE;
|
||||
|
Reference in New Issue
Block a user