Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/ocp: fix telemetry parser buffer overflow
The fixed 256-byte description_str will overflow for any reasonably sized data_size >= 128. Max data_size is for OCP VU Event Data is 0xFF Dwords, so the buffer should be at least 1020 bytes + 1 for null. 1024 seems like a nice number for OCP. Reported-by: Nate Thornton <[email protected]> Signed-off-by: Daniel Wagner <[email protected]>
- Loading branch information