Fix: dereference of NULL pointer in stream_write()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 11 Sep 2019 00:35:19 +0000 (20:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commite0e4d1964e1f3eba13c28b1300c5c77833d1fbee
tree18dbb6937af33eda6f9c670d46a56550af4a40b0
parent5fdbff7bbb9db5981e2316a9293d65765f2b1d61
Fix: dereference of NULL pointer in stream_write()

stream_write() can be used with a NULL packet to write padding only to
a stream. In the case of a metadata stream, packet is assumed to
always be non-NULL which may not always be true.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/stream.c
This page took 0.025655 seconds and 4 git commands to generate.