projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: plugin-so.c: dereference after `NULL` check
[babeltrace.git]
/
src
/
lib
/
plugin
/
plugin-so.c
diff --git
a/src/lib/plugin/plugin-so.c
b/src/lib/plugin/plugin-so.c
index 770b041394e529c32b0657e9929d2f235c034c91..24590cf2041d985237292cfde7e4f23a534ecf25 100644
(file)
--- a/
src/lib/plugin/plugin-so.c
+++ b/
src/lib/plugin/plugin-so.c
@@
-1286,6
+1286,7
@@
int bt_plugin_so_create_all_from_sections(
size_t cc_descr_attrs_count;
size_t i;
+ BT_ASSERT(shared_lib_handle);
BT_ASSERT(plugin_set_out);
*plugin_set_out = NULL;
descriptor_count = count_non_null_items_in_section(descriptors_begin, descriptors_end);
This page took
0.025005 seconds
and
4
git commands to generate.