video: driver: Fix OOB access while handling fence property
Fence property payload is copied into a fixed length instance
array. When the payload exceeds the size of array, there is a
possible case of out of bound access.
The fix ensures that the memcpy is avoided when the payload
exceeds the size of memory allocated to accomodate the payload.
Change-Id: I38b8c0f0ee92011f6209adfb83c7b9c0fd869e4a
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Please register or sign in to comment