forked from SlimRoms/kernel_oneplus_msm8974
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm: crypto: Fix integer over flow check in qcedev driver
Integer overflow check always fails when ULONG_MAX is used, as ULONG_MAX is 2^64-1, while req->data[i].len and total are uint32_t. Make change to use U32_MAX instead of ULONG_MAX. CRs-fixed: 1046507 Change-Id: Iccf9c32400ecc7ffc0afae16f58c38e5d78a5b64 Signed-off-by: Zhen Kong <zkong@codeaurora.org> Ticket: OPO-815
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters