Preserve the column and error message when there is a syntax error.

This information is now included in the error mail sent to root.
This commit is contained in:
Todd C. Miller
2022-03-06 18:54:30 -07:00
parent dfda098ae7
commit 7d3f9293c6
8 changed files with 331 additions and 297 deletions

View File

@@ -312,6 +312,8 @@ int sudoersparse(void);
extern char *login_style;
extern char *errorfile;
extern int errorlineno;
extern int errorcolumn;
extern char *errorstring;
extern bool parse_error;
extern bool sudoers_warnings;
extern bool sudoers_recovery;