Skip to content
Commit e21682f8 authored by Vikash Garodia's avatar Vikash Garodia
Browse files

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: default avatarVikash Garodia <quic_vgarodia@quicinc.com>
parent f0ec4bf4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment