projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9b9ab
)
Fix: plugin-so.c: dereference before `NULL` check
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 9 Aug 2019 19:06:37 +0000
(15:06 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 9 Aug 2019 19:28:34 +0000
(15:28 -0400)
Found by Coverity Scan.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I36ae818417b9f9902a561641e83d6e24837be462
src/lib/plugin/plugin-so.c
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/plugin/plugin-so.c
b/src/lib/plugin/plugin-so.c
index ae7955986f6b9cba1d4198127a790f2433d07d9a..770b041394e529c32b0657e9929d2f235c034c91 100644
(file)
--- a/
src/lib/plugin/plugin-so.c
+++ b/
src/lib/plugin/plugin-so.c
@@
-1350,7
+1350,7
@@
int bt_plugin_so_create_all_from_sections(
goto error;
}
- if (shared_lib_handle
&& shared_lib_handle
->path) {
+ if (shared_lib_handle->path) {
bt_plugin_set_path(plugin,
shared_lib_handle->path->str);
}
This page took
0.026305 seconds
and
4
git commands to generate.