Abhilash Mahapatra 82fd5dba74 msm: camera: tpg: Proper cmd descriptor handling
Changes include proper validation of received
cmd_buffer_size wrt cmd_desc size.
Proper validation of cmd desc offset and cmd
header size. Also copied cmd_header locally to
avoid toctou vulnerability.

EDV: tpg
CRs-Fixed: 3834979
CRs-Fixed: 4071376
Change-Id: Ie7f09d48aec1bccc1a87a0ae6a1670b8fcaf6745
Signed-off-by: Abhilash Mahapatra <quic_abhmah@quicinc.com>
Signed-off-by: Naveen K <quic_knav@quicinc.com>
2025-06-12 06:10:40 -07:00
Description
No description provided
217 MiB
Languages
C 98.9%
C++ 0.7%
Makefile 0.3%
Starlark 0.1%