Fix: event: erroneous bound check on perf counter name size
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Mar 2022 15:56:21 +0000 (11:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Mar 2022 17:34:39 +0000 (13:34 -0400)
commit420e125556b416f84193298c239410018a228697
treec09fdb09401d9e8478f070cf5db6123d81fd2eeb
parent94814ee3f61dccf03001535eeaff10670b47e63b
Fix: event: erroneous bound check on perf counter name size

The wrong size if used when initializing a perf counter name from a
payload. The destination size must be used to prevent out of bound
writes.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I8ea41d30815bd2c02bb2ad8b01e8cecd2d6549a8
src/common/event.c
This page took 0.025183 seconds and 4 git commands to generate.