Two fixes for rtla in v6.17:
- Fix a buffer overflow in actions_parse()
The "trigger_c" variable did not account for the nul byte when
determining its size.
- Fix a compare that had the values reversed
actions_destroy() is to reallocate when len is greater than the current size,
but the compare was testing if size is greater than the new length.
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
tools/fixes
Head SHA1: 2227f273b7dc25a791ae6b152550098aa6934b2f
Ivan Pravdin (1):
rtla: Fix buffer overflow in actions_parse
Wander Lairson Costa (1):
rtla/actions: Fix condition for buffer reallocation
----
tools/tracing/rtla/src/actions.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)