From: Mathieu Desnoyers Date: Mon, 12 Aug 2019 15:47:34 +0000 (-0400) Subject: Fix: relayd: live: read index file header X-Git-Tag: v2.12.0-rc1~503 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=84546278a8c15c989413f4e474be14de22b62d19;hp=84546278a8c15c989413f4e474be14de22b62d19;p=lttng-tools.git Fix: relayd: live: read index file header The header of index files opened in "read" mode are not validated when the file is being opened. This check should be performed to restore the previous behaviour. Moreover, the rest of the code using index files in "read" mode assumes that the file header has already been skipped when reading index entries. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---