projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: use-after-free on error of lttng_event creation and copy
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
event.c
diff --git
a/src/lib/lttng-ctl/event.c
b/src/lib/lttng-ctl/event.c
index f8abf309e5fe354ce45c69be446a7866fba3aefd..17dd7f72bfe8fd9bbe80c6ccd8afcb35b9d3d3f3 100644
(file)
--- a/
src/lib/lttng-ctl/event.c
+++ b/
src/lib/lttng-ctl/event.c
@@
-51,6
+51,7
@@
end:
return event;
error:
free(event);
+ event = NULL;
goto end;
}
This page took
0.024461 seconds
and
5
git commands to generate.