Clear configuration memory

This commit is contained in:
Laurent Vivier 2007-10-21 01:16:11 +00:00
parent db07ccf564
commit cf28f647c7

View File

@ -237,7 +237,7 @@ static int set_config(char *image, int verbose, char *config_path,
fprintf(stderr, "ERROR: cannot initalize configuration\n");
return 7;
}
configuration[0] = 0;
memset(configuration, 0, 65536);
if (!emile_config_get(config, CONFIG_GESTALTID, &gestaltid))
{