projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Uninitialized scalar variable in consumer
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index 01266a700cb37199966c9257eba335689e877453..2dd463c1431f72e9fd1bf35d8551fddad5b28f4a 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-99,6
+99,8
@@
static void notify_channel_pipe(struct lttng_consumer_local_data *ctx,
struct consumer_channel_msg msg;
int ret;
+ memset(&msg, 0, sizeof(msg));
+
msg.action = action;
msg.chan = chan;
do {
This page took
0.041172 seconds
and
4
git commands to generate.