ARM: dts: msm: Remove Out-of-Bound access
Remove the out of bound access vulnerability in the qce driver reachable via ioctl. Change-Id: I4320cd27334eaae975f4a6ad07fb7b2e5ebccffd Signed-off-by: Monika Singh <monising@codeaurora.org>
This commit is contained in:
parent
210920e31e
commit
9432c10726
1 changed files with 1 additions and 2 deletions
|
@ -1173,8 +1173,7 @@ static int qcedev_vbuf_ablk_cipher_max_xfer(struct qcedev_async_req *areq,
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
k_align_dst += creq->vbuf.dst[dst_i].len +
|
k_align_dst += creq->vbuf.dst[dst_i].len;
|
||||||
byteoffset;
|
|
||||||
creq->data_len -= creq->vbuf.dst[dst_i].len;
|
creq->data_len -= creq->vbuf.dst[dst_i].len;
|
||||||
dst_i++;
|
dst_i++;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue