[Open-scap] segfault in oval_syschar_get_variable_bindings

Pierre Chifflier chifflier at edenwall.com
Tue Feb 23 20:54:28 UTC 2010


Hi,

I got a segfault when running the following test here:
./oscap_cli -vv /var/tmp/oval-2010-02-22.17.57.00.xml

XML file is the definition from
http://oval.mitre.org/repository/data/ViewDefinition?id=oval%3aorg.mitre.oval%3adef%3a8300

Full backtrace:
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7dc78e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7dcae15 in *__GI_abort () at abort.c:88
#3  0xb7dc0ace in *__GI___assert_fail (assertion=0xb7f6d78f "(syschar) != ((void *)0)", file=0xb7f6d780 "oval_syschar.c", line=121, function=0xb7f6db00 "oval_syschar_get_variable_bindings")
    at assert.c:78
#4  0xb7f29869 in oval_syschar_get_variable_bindings (syschar=0x0) at oval_syschar.c:121
#5  0xb7f213a3 in _oval_result_test_initialize_bindings (rslt_test=0x8070ae8) at oval_resultTest.c:1192
#6  0xb7f21666 in oval_result_test_to_dom (rslt_test=0x8070ae8, doc=0x805d428, parent=0x8097660) at oval_resultTest.c:1245
#7  0xb7f1ded3 in oval_result_system_to_dom (sys=0x80541f0, results_model=0x805e930, directives=0x805fa10, doc=0x805d428, parent=0x808ef20) at oval_resultSystem.c:535
#8  0xb7f09cd0 in oval_results_to_dom (results_model=0x805e930, directives=0x805fa10, doc=0x805d428, parent=0x0) at oval_agent.c:1329
#9  0xb7f09db4 in oval_results_model_export (results_model=0x805e930, directives=0x805fa10, target=0x8070928) at oval_agent.c:1351
#10 0x0804a12c in main ()

Up to date git (ffba0aa59f3befda1c7530c5211945642d47b72a).

I've attached all files to this mail.
Expected result: none (the vulnerability is for 64-bit kernels only, I'm
testing on i686).

Please let me know if I can help.

Thanks,
Pierre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: oval-2010-02-22.17.57.00.xml
Type: application/xml
Size: 47396 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20100223/10090103/attachment.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oval-2010-02-22.17.57.00.xml.syschar.xml
Type: application/xml
Size: 12176 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20100223/10090103/attachment-0001.wsdl>


More information about the Open-scap-list mailing list