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>
Wed, 11 Sep 2019 00:35:19 +0000 (20:35 -0400)
commit014e956d14322163d9740bb6f35580f21358f702
tree331ee25e1ab26728f7b553ca8ab29ba4a260c292
parent73e38068d5e19fd338f29e897598b15ab5ae743b
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.024963 seconds and 4 git commands to generate.