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:
aae6255
)
Fix: use after free in jul_list_events
author
David Goulet
<dgoulet@efficios.com>
Thu, 17 Oct 2013 19:39:44 +0000
(15:39 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Thu, 17 Oct 2013 19:39:44 +0000
(15:39 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/jul.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/jul.c
b/src/bin/lttng-sessiond/jul.c
index 318d511651e3147061a715703bda1631d16d2f48..a16e9b34b6ce34314bc90150b3e0a9ae61685bb0 100644
(file)
--- a/
src/bin/lttng-sessiond/jul.c
+++ b/
src/bin/lttng-sessiond/jul.c
@@
-450,7
+450,6
@@
int jul_list_events(struct lttng_event **events)
ptr = realloc(tmp_events, nbmem * sizeof(*tmp_events));
if (!ptr) {
PERROR("realloc JUL events");
- free(tmp_events);
ret = -ENOMEM;
rcu_read_unlock();
goto error;
This page took
0.026212 seconds
and
4
git commands to generate.