diff options
author | Dumitru Ceara <dceara@redhat.com> | 2022-01-24 15:18:19 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-02-14 23:33:33 +0100 |
commit | b9e8354d045adbe6784f199915b557674e0327f3 (patch) | |
tree | d6395319140e4d9793b41fdd92ec319dd113e6e9 /lib/bfd.c | |
parent | b07c2e92e9c7d037bf304d6c582cd7f595b80372 (diff) | |
download | openvswitch-b9e8354d045adbe6784f199915b557674e0327f3.tar.gz |
ovsdb-idlc: Avoid accessing member within NULL idl index cursors.
Reported by UndefinedBehaviorSanitizer:
tests/idltest.c:3602:12:
runtime error: member access within null pointer of type
'const struct idltest_simple'
#0 0x4295af in idltest_simple_cursor_first_ge tests/idltest.c:3602
#1 0x41c81b in test_idl_compound_index_single_column tests/test-ovsdb.c:3128
#2 0x41e035 in do_idl_compound_index tests/test-ovsdb.c:3277
#3 0x4cf640 in ovs_cmdl_run_command__ lib/command-line.c:247
#4 0x4cf79f in ovs_cmdl_run_command lib/command-line.c:278
#5 0x4072f7 in main tests/test-ovsdb.c:79
#6 0x7fa858675b74 in __libc_start_main (/lib64/libc.so.6+0x27b74)
#7 0x4060ed in _start (/root/ovs/tests/test-ovsdb+0x4060ed)
Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Paolo Valerio <pvalerio@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'lib/bfd.c')
0 files changed, 0 insertions, 0 deletions