summaryrefslogtreecommitdiff
path: root/lib/ucs2_string.c
diff options
context:
space:
mode:
authorHardik Arya <harya@codeaurora.org>2018-01-17 21:03:52 +0530
committerHardik Arya <harya@codeaurora.org>2018-02-20 15:13:44 +0530
commit63b076dbd015a085dac09306b9fb6546fdb2dec1 (patch)
tree3b67e6baee7eb390235377bbdd3d09c5654739b9 /lib/ucs2_string.c
parent3fe4f284c8977031fd3c3f0729b9a7772b48aeca (diff)
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: Hardik Arya <harya@codeaurora.org>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions