Fix: lttng-abi: zero-init counter_conf
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 3 Sep 2022 18:44:49 +0000 (14:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 21:01:43 +0000 (17:01 -0400)
commit434e86eea846b33cad57f1d8105089905f541853
tree086e6265c734b1962f5a317a78026771c689a8fa
parent9005f768b569a4ac661163b931ba1510b766b9d5
Fix: lttng-abi: zero-init counter_conf

Both lttng_abi_copy_user_old_counter_conf and
lttng_abi_copy_user_counter_conf should zero-init the counter_conf
destination argument, else the "dimension->flags" field is uninitialized
before being OR'd with flags.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ib2e0ca5871ec6fc9f485ec1b60f362de9568b9d1
src/lttng-abi.c
This page took 0.025117 seconds and 4 git commands to generate.