Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 25b2c7e0 authored by Ravikishore Pampana's avatar Ravikishore Pampana
Browse files

msm: camera: util: validate patch offset value



While processing the packet patches, validate the destination
and source offset value against the destination buffer length
and source buffer length. If offset value is greater than
buffer length return error.

Change-Id: I4a82630558ff4ba0a28891ccec0497346ee904d1
Signed-off-by: default avatarRavikishore Pampana <rpampana@codeaurora.org>
parent c2685093
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment