Blame SOURCES/sudo-1.8.6p3-doublequotefix.patch

523624
diff -up sudo-1.8.6p3/plugins/sudoers/toke.c.doublequotefix sudo-1.8.6p3/plugins/sudoers/toke.c
523624
--- sudo-1.8.6p3/plugins/sudoers/toke.c.doublequotefix	2014-05-19 14:28:27.536399410 +0200
523624
+++ sudo-1.8.6p3/plugins/sudoers/toke.c	2014-05-19 14:29:51.084714355 +0200
523624
@@ -1851,7 +1851,7 @@ YY_RULE_SETUP
523624
 				LEXTRACE("ERROR "); /* empty string */
523624
 				LEXRETURN(ERROR);
523624
 			    }
523624
-			    if (prev_state == INITIAL) {
523624
+			    if (prev_state == INITIAL || prev_state == GOTDEFS) {
523624
 				switch (yylval.string[0]) {
523624
 				case '%':
523624
 				    if (yylval.string[1] == '\0' ||
523624
diff -up sudo-1.8.6p3/plugins/sudoers/toke.l.doublequotefix sudo-1.8.6p3/plugins/sudoers/toke.l
523624
--- sudo-1.8.6p3/plugins/sudoers/toke.l.doublequotefix	2014-05-19 14:28:36.932438977 +0200
523624
+++ sudo-1.8.6p3/plugins/sudoers/toke.l	2014-05-19 14:29:27.769626995 +0200
523624
@@ -197,7 +197,7 @@ DEFVAR			[a-z_]+
523624
 				LEXTRACE("ERROR "); /* empty string */
523624
 				LEXRETURN(ERROR);
523624
 			    }
523624
-			    if (prev_state == INITIAL) {
523624
+			    if (prev_state == INITIAL || prev_state == GOTDEFS) {
523624
 				switch (yylval.string[0]) {
523624
 				case '%':
523624
 				    if (yylval.string[1] == '\0' ||