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

Commit c88eeb04 authored by Monika Singh's avatar Monika Singh Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarMonika Singh <monising@codeaurora.org>
parent 47ddacb6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1239,8 +1239,7 @@ static int qcedev_vbuf_ablk_cipher_max_xfer(struct qcedev_async_req *areq,
				goto exit;
			}

			k_align_dst += creq->vbuf.dst[dst_i].len +
						byteoffset;
			k_align_dst += creq->vbuf.dst[dst_i].len;
			creq->data_len -= creq->vbuf.dst[dst_i].len;
			dst_i++;
		} else {