Skip to content
Snippets Groups Projects
Commit ddef62b3 authored by Hardik Arya's avatar Hardik Arya Committed by ali_lin
Browse files

diag: Validate copying length against source buffer length


There a possibility of out-of-bound read because of not
validating source buffer length against length that about
to be copied. The patch adds proper check for validating
length before copying data

CRs-Fixed: 2163793
Change-Id: I7c93839d0c4d83024ce23a0ce494d09dd08567a9
Signed-off-by: default avatarHardik Arya <harya@codeaurora.org>
parent 36c6f831
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment