projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9474416
)
Fix: use after free in agent subsystem
author
David Goulet
<dgoulet@efficios.com>
Mon, 22 Sep 2014 14:50:42 +0000
(10:50 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Mon, 22 Sep 2014 14:50:42 +0000
(10:50 -0400)
Fixes Coverity issue
1230592
.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/agent.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/agent.c
b/src/bin/lttng-sessiond/agent.c
index b267503fcbcec3e58890fda360c507496645afe6..1c1c6ab18ad4fc341f805288de1092f667bedb85 100644
(file)
--- a/
src/bin/lttng-sessiond/agent.c
+++ b/
src/bin/lttng-sessiond/agent.c
@@
-769,6
+769,7
@@
struct agent *agent_create(enum lttng_domain_type domain)
ret = agent_init(agt);
if (ret < 0) {
free(agt);
+ agt = NULL;
goto error;
}
This page took
0.026507 seconds
and
4
git commands to generate.