commit | ba334f4f7b92c20fba4bf2de6c085482ee515cd1 | [log] [tgz] |
---|---|---|
author | Hardik Arya <harya@codeaurora.org> | Wed Jan 17 21:03:52 2018 +0530 |
committer | Hardik Arya <harya@codeaurora.org> | Tue Feb 13 14:35:35 2018 +0530 |
tree | 9d95982816dbe856692c9b7bef12f84492be6fde | |
parent | 8b7300fdf865542ed29e79e9745e8dcdaea9debb [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>