Merge "ARM: dts: msm: Remove Out-of-Bound access"

This commit is contained in:
Linux Build Service Account 2018-12-20 11:22:21 -08:00 committed by Gerrit - the friendly Code Review server
commit e5e5f57a02

View file

@ -1173,8 +1173,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 {