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>
Wed, 16 Mar 2022 15:56:25 +0000 (11:56 -0400)
commit97f9ed7d7da933aaf3c25c9a8a7fe12b5b9f8d58
tree85450b1f5f84b50e25474d499898d146a3948393
parent4ab5469cb4922334d1cd537fa064935472b470a7
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.cpp
This page took 0.025467 seconds and 4 git commands to generate.