Skip to content
Snippets Groups Projects
Commit 73466d63 authored by Biswajit Paul's avatar Biswajit Paul Committed by John Dias
Browse files

crypto: msm: check integer overflow on total data len in qcedev.c


qcedev_vbuf_ablk_cipher will calculate total data length. It starts
with the value of "areq->cipher_op_req.byteoffset", which is controlled
by the user. Make change to check if this total data length has integer
overflow issue in qcedev_check_cipher_params.

Bug: 33544431
CRs-Fixed: 1103089
Change-Id: Ice42dca6d47eb8febfe8a34e566c69e4799fab57
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
Signed-off-by: default avatarBiswajit Paul <biswajitpaul@codeaurora.org>
Signed-off-by: default avatarSteve Pfetsch <spfetsch@google.com>
parent b7fb46c7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment