public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [for-linus][PATCH 0/2] rtla: Fixes for v6.17
@ 2025-09-27 11:34 Steven Rostedt
  2025-09-27 11:34 ` [for-linus][PATCH 1/2] rtla: Fix buffer overflow in actions_parse Steven Rostedt
  2025-09-27 11:34 ` [for-linus][PATCH 2/2] rtla/actions: Fix condition for buffer reallocation Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2025-09-27 11:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Tomas Glozar, John Kacur


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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-27 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-27 11:34 [for-linus][PATCH 0/2] rtla: Fixes for v6.17 Steven Rostedt
2025-09-27 11:34 ` [for-linus][PATCH 1/2] rtla: Fix buffer overflow in actions_parse Steven Rostedt
2025-09-27 11:34 ` [for-linus][PATCH 2/2] rtla/actions: Fix condition for buffer reallocation Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox