]> git.lttng.org Git - lttng-tools.git/commit
Fix: sessiond: leak of filter_expression, bytecode, and exclusion
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2024 14:56:53 +0000 (14:56 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2024 17:05:50 +0000 (17:05 +0000)
commite4857bf025790069d56c6610ed5e3e32751eeed5
treee7016e7b35429e218b835a91e603b24a81b602cc
parent729414e5fbbf6716378eb4a8dbb7ea56f5327e9c
Fix: sessiond: leak of filter_expression, bytecode, and exclusion

The filter_expression, bytecode, and exclusion arguments are leaked
whenever a client omits the transmission of an event-rule as part of an
enable-event command (a protocol error).

Ensure the three arguments are automatically managed using smart
pointers before performing the protocol consistency check.

Change-Id: I4c4f1d5d7b6acdd215ef34e1fc8f2c4bc81a674a
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.cpp
This page took 0.029692 seconds and 4 git commands to generate.