Fix: liblttng-ctl: erroneous flat size computation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 4 Mar 2022 20:29:12 +0000 (15:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Mar 2022 19:21:21 +0000 (14:21 -0500)
commit4872076767c2e6e033b3bae4d3c909b3c713bb66
tree3004a8407bfaac99e06c7fa8701e89b70f7fb8ce
parentbfcd0061ccf63b76a502f43a199200b6ccab880f
Fix: liblttng-ctl: erroneous flat size computation

compute_flattened_size() erroneously computes (over-estimates) the size
of the allocation required to hold the flat array of struct lttng_event
returned to the user by lttng_list_{events, syscalls, tracepoints}.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I0a80ef0fa66428b7df34303804a024e80b635c69
src/common/event.c
This page took 0.024767 seconds and 4 git commands to generate.