Commit f373aa1c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by npzacs

keydbcfg-parser: Fix crash when parsing multiple key DB

parent e4edd3ee
......@@ -492,7 +492,7 @@ int keydbcfg_parse_config(config_file *cfgfile, const char *path)
void *scanner;
libaacs_yylex_init(&scanner);
libaacs_yyset_in(fp, scanner);
int retval = yyparse(scanner, cfgfile, NULL, NULL);
int retval = yyparse(scanner, cfgfile, cfgfile->list, NULL);
libaacs_yylex_destroy(scanner);
fclose(fp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment