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:07 +0000 (14:21 -0500)
commit09c640add9b7586b09dd837f7590203f4e7317c3
tree027e67cdb62adbc917c7c535bf49dfaff3d920b7
parentb1986efff802ef2dbda8f2fac522840ad431bcce
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.025024 seconds and 4 git commands to generate.