Created attachment 412125 [details] Compressed example of externally referenced variable Description of problem: When parsing an external variable file using oval_variable_model_import(), Version-Release number of selected component (if applicable): 0.5.9 How reproducible: Every time Steps to Reproduce: //Import Definition Model struct oscap_import_source *def_src = oscap_import_source_new_file("test_benchmark/2-16supported-release.xml", NULL); struct oval_definition_model *def_model = oval_definition_model_new(); oval_definition_model_import(def_model, def_src, NULL); //Import Variable Model struct oscap_import_source *var_src = oscap_import_source_new_file("test_benchmark/STIG_external_variables.xml", NULL); struct oval_variable_model *var_model = oval_variable_model_new(); oval_variable_model_import(var_model, var_src, NULL); Actual results: Segmentation Fault Expected results: importing correctly Additional info: See attached sample file.
Created attachment 412126 [details] patch to varModel.c Patch to call xmlTextReaderRead(reader) prior to getting the value
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle. Changing version to '14'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping