Skip to content
Snippets Groups Projects
Commit 2f5f17b6 authored by William Clark's avatar William Clark Committed by Devin Kim
Browse files

crypto: msm: check potential integer overflow


According to the specification of AEAD, AEAD request crypt length is
not a fixed maximum and associated length is also same. This could
lead to potential integer overflow, thus allocating less memory. So
we need to check potential integer overflow on AEAD request length.

CRs-Fixed: 726872
Change-Id: Ie7708000bfd8c57e2fba8e02230a7ce9cdc9634c
Signed-off-by: default avatarWilliam Clark <wclark@codeaurora.org>
parent 5483d71a
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