Actions
Bug #323
closedsegfault when passing a NULL bt_context or bt_ctf_event
Start date:
08/09/2012
Due date:
% Done:
0%
Estimated time:
Description
When calling a function requiring a struct bt_context or a struct bt_ctf_event,
if we pass NULL, we get a segfault
Updated by Yannick Brosseau over 11 years ago
It might be useful to list the problematic functions.
Updated by Danny Serres over 11 years ago
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
Updated by Mathieu Desnoyers over 11 years ago
- Status changed from New to Resolved
- Assignee set to Mathieu Desnoyers
Fixed by commit:
commit 7f89ddce05f0a5c985d6333fbe70a992da4bd244
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Thu Aug 16 12:12:46 2012 -0400
Fix: complete error handling of babeltrace API
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Actions