/[smeserver]/rpms/sudo/sme9/sudo-1.8.6p3-doublequotefix.patch
ViewVC logotype

Contents of /rpms/sudo/sme9/sudo-1.8.6p3-doublequotefix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 4 19:44:11 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: sudo-1_8_6p3-30_el6_sme, sudo-1_8_6p3-29_el6_9, HEAD
Error occurred while calculating annotation data.
Sudo

1 diff -up sudo-1.8.6p3/plugins/sudoers/toke.c.doublequotefix sudo-1.8.6p3/plugins/sudoers/toke.c
2 --- sudo-1.8.6p3/plugins/sudoers/toke.c.doublequotefix 2014-05-19 14:28:27.536399410 +0200
3 +++ sudo-1.8.6p3/plugins/sudoers/toke.c 2014-05-19 14:29:51.084714355 +0200
4 @@ -1851,7 +1851,7 @@ YY_RULE_SETUP
5 LEXTRACE("ERROR "); /* empty string */
6 LEXRETURN(ERROR);
7 }
8 - if (prev_state == INITIAL) {
9 + if (prev_state == INITIAL || prev_state == GOTDEFS) {
10 switch (yylval.string[0]) {
11 case '%':
12 if (yylval.string[1] == '\0' ||
13 diff -up sudo-1.8.6p3/plugins/sudoers/toke.l.doublequotefix sudo-1.8.6p3/plugins/sudoers/toke.l
14 --- sudo-1.8.6p3/plugins/sudoers/toke.l.doublequotefix 2014-05-19 14:28:36.932438977 +0200
15 +++ sudo-1.8.6p3/plugins/sudoers/toke.l 2014-05-19 14:29:27.769626995 +0200
16 @@ -197,7 +197,7 @@ DEFVAR [a-z_]+
17 LEXTRACE("ERROR "); /* empty string */
18 LEXRETURN(ERROR);
19 }
20 - if (prev_state == INITIAL) {
21 + if (prev_state == INITIAL || prev_state == GOTDEFS) {
22 switch (yylval.string[0]) {
23 case '%':
24 if (yylval.string[1] == '\0' ||

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed