diff options
author | Vikash Garodia <[email protected]> | 2023-08-10 07:55:02 +0530 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-10-23 12:24:52 +0200 |
commit | b18e36dfd6c935da60a971310374f3dfec3c82e1 (patch) | |
tree | 0cc6f9cb5b1c1908699b6ba08216064dc2ce14a2 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 5e538fce33589da6d7cb2de1445b84d3a8a692f7 (diff) |
media: venus: hfi: fix the check to handle session buffer requirement
Buffer requirement, for different buffer type, comes from video firmware.
While copying these requirements, there is an OOB possibility when the
payload from firmware is more than expected size. Fix the check to avoid
the OOB possibility.
Cc: [email protected]
Fixes: 09c2845e8fe4 ("[media] media: venus: hfi: add Host Firmware Interface (HFI)")
Reviewed-by: Nathan Hebert <[email protected]>
Signed-off-by: Vikash Garodia <[email protected]>
Signed-off-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions