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:25:22 +0000 (13:25 -0400)
commit856b414b638f61c09f57227eedc7ca891049fd19
tree6dc46b7a2bf74798c085c0a461cb2f0b9bafb8f0
parentcf771fa9335f4b9a9b4ddf8bca2da155de5283a1
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.026451 seconds and 4 git commands to generate.