Bug 589692
Summary: | Seg Fault when parsing the value of external variables | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Sealing <ed.sealing> | ||||||
Component: | openscap | Assignee: | Peter Vrabec <pvrabec> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 14 | CC: | pvrabec, theinric | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-10-05 12:38:58 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
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 |
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.