Fix: use after free in ring buffer clients
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 Feb 2014 23:18:51 +0000 (18:18 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 Feb 2014 23:18:51 +0000 (18:18 -0500)
commitdd5a0db3ea07c46bee3c1814ef7326736f38a06e
tree21e39c3aac6ca0fbd05238401750be5540e6b540
parent461277e79d60d55afc769d76ece385681835d02b
Fix: use after free in ring buffer clients

Don't use ring buffer client's struct lttng_channel from ioctl which
applies to ring buffer streams, because lttng_channel is freed while lib
ring buffer stream and channel are still in use. Their lifetime persists
until the consumer daemon releases its handles on the related stream
file descriptors.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/backend_types.h
lib/ringbuffer/ring_buffer_frontend.c
lttng-abi.c
lttng-ring-buffer-client.h
lttng-ring-buffer-metadata-client.h
This page took 0.026023 seconds and 4 git commands to generate.