Bug #323
closed
segfault when passing a NULL bt_context or bt_ctf_event
Added by Danny Serres over 11 years ago.
Updated over 11 years ago.
Description
When calling a function requiring a struct bt_context or a struct bt_ctf_event,
if we pass NULL, we get a segfault
It might be useful to list the problematic functions.
bt_ctf_event_get_handle_id
bt_ctf_get_top_level_scope
bt_ctf_event_name
bt_ctf_get_cycles
bt_ctf_get_timestamp
bt_ctf_get_field_list
bt_ctf_get_field
bt_ctf_get_index
and all functions in context.h
I might have omitted some of them
- Status changed from New to Resolved
- Assignee set to Mathieu Desnoyers
Also available in: Atom
PDF