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:20:58 +0000 (14:20 -0500)
commitfc33156e72d0b98c2a53db182d801e0ef9e2d037
treecb4571c93589827d0abe2b81180c330d5bd64071
parent030ea321c2b386d11d3b7145b1f327e32297f230
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.cpp
This page took 0.026534 seconds and 4 git commands to generate.