projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8652b5
)
Fix: prevent uninitialized use of elf_file
author
Antoine Busque
<abusque@efficios.com>
Mon, 18 Apr 2016 22:30:43 +0000
(18:30 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Tue, 3 May 2016 19:42:42 +0000
(15:42 -0400)
Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/so-info.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/so-info.c
b/lib/so-info.c
index a82e86b809f4d8ad959ed5a1690240635af2f81d..3a603b8f1561f0b2c52cb8e2b5765a559b9501b3 100644
(file)
--- a/
lib/so-info.c
+++ b/
lib/so-info.c
@@
-491,7
+491,7
@@
static
int so_info_set_elf_file(struct so_info *so)
{
int elf_fd;
- Elf *elf_file;
+ Elf *elf_file
= NULL
;
if (!so) {
goto error;
This page took
0.024574 seconds
and
4
git commands to generate.