Syntax Error
Brought to you by:
hvhaugwitz,
rvdb
I've download, compiled, and installed both 0.13.1 and today's snapshot. Then I created a very simple aide.conf with one line "/etc p". When I try to initialize the db (aide --init) I'm getting a syntax error, so I set YYDEBUG and YYERROR_VERBOSE and get
0:syntax error: unexpected $undefined, expecting TNEWLINE or TEOF or '+' or '-':
0:Error while reading configuration:
Configuration error
After playing around, the only thing I've come up with is something in conf_lex.l other than "<EXPR>[\ \t]*\n" is eating the newline.
I've upgrade my bison and flex to the latest and still the same thing happens.
Logged In: NO
Setting flex -d shows \n being accepted at line 375 of conf_lex.l (a line with no start condition). Moving EXPR to a exclusive start condition "%x EXPR" seems to fix the syntax error.
This issue is not reproducible with AIDE 0.16. Hence I close this bug report.