Fix: add element length check in lttng_index_file_open
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Dec 2016 11:13:19 +0000 (12:13 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 16 Dec 2016 12:46:47 +0000 (07:46 -0500)
commitf0108ed540621afa523e1bf2e0374ee0c34be3a6
tree69fefa461c6444cb633d0549781df3266bede21c
parent16e652aa06fa51e75a8111fb7643ae3d5495437b
Fix: add element length check in lttng_index_file_open

Handle cases where the index file header would contain a corrupted
value.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/index/index.c
This page took 0.025917 seconds and 4 git commands to generate.