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:
a6bdf1e
)
Fix: zero out data structure before using it
author
David Goulet
<dgoulet@efficios.com>
Wed, 15 Jan 2014 20:30:47 +0000
(15:30 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 15 Jan 2014 20:33:20 +0000
(15:33 -0500)
Fixes #716
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index dd9e6927e32d1f9ff1c831d55aee7e774f9b667c..73ba7740fd131863172c53ae9e1cb558fe09f323 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-1439,6
+1439,7
@@
int cmd_enable_event(struct ltt_session *session, struct lttng_domain *domain,
assert(usess);
/* Create the default JUL tracepoint. */
+ memset(&uevent, 0, sizeof(uevent));
uevent.type = LTTNG_EVENT_TRACEPOINT;
uevent.loglevel_type = LTTNG_EVENT_LOGLEVEL_ALL;
strncpy(uevent.name, DEFAULT_JUL_EVENT_NAME, sizeof(uevent.name));
This page took
0.030937 seconds
and
4
git commands to generate.