Zero parser globals before use
[petitboot] / discover / kboot-parser.c
index e688c22d512fde7bf91736ba7808f38fd52f3c4c..23d48a401f8a82cdff8daf4035f2769d4ccc6971 100644 (file)
@@ -137,6 +137,7 @@ static int kboot_parse(struct discover_context *dc)
 
        conf->dc = dc;
        conf->global_options = kboot_global_options,
+       conf_init_global_options(conf);
        conf->conf_files = kboot_conf_files,
        conf->process_pair = kboot_process_pair;
        conf->parser_info = (void *)kboot_ignored_names,