Fix: hang in thread_rotation when using compat-poll
authorYannick Lamarre <ylamarre@efficios.com>
Thu, 25 Apr 2019 22:23:31 +0000 (18:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 4 May 2019 19:27:46 +0000 (15:27 -0400)
commitca3833f638213d2cf0604481fade27b4437dc985
tree9e6de621d32880ee902fa6ebf71a4040a50acc12
parenta1de8fcc86468f9ae88786634face3e327e2f3b3
Fix: hang in thread_rotation when using compat-poll

Add missing verification to prevent a blocking read on an empty fd.

Signed-off-by: Yannick Lamarre <ylamarre@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/rotation-thread.c
This page took 0.024854 seconds and 4 git commands to generate.