projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: uninitialized variable in lib_ring_buffer_channel_switch_timer_start
[deliverable/lttng-ust.git]
/
libringbuffer
/
ring_buffer_frontend.c
diff --git
a/libringbuffer/ring_buffer_frontend.c
b/libringbuffer/ring_buffer_frontend.c
index 3828a84b8a289ce2ee6bf4c34ba6ee27c9bd1935..45c0659bfafc8bcdb83077babd00e06068d5bf74 100644
(file)
--- a/
libringbuffer/ring_buffer_frontend.c
+++ b/
libringbuffer/ring_buffer_frontend.c
@@
-804,6
+804,7
@@
void lib_ring_buffer_channel_switch_timer_start(struct channel *chan)
lib_ring_buffer_setup_timer_thread();
+ memset(&sev, 0, sizeof(sev));
sev.sigev_notify = SIGEV_SIGNAL;
sev.sigev_signo = LTTNG_UST_RB_SIG_FLUSH;
sev.sigev_value.sival_ptr = chan;
This page took
0.026325 seconds
and
5
git commands to generate.