diff options
| author | Zhen Kong <zkong@codeaurora.org> | 2016-07-29 15:32:31 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-04 11:08:48 -0700 |
| commit | 61623fad5056c376f7d3f9e524dadc258ba22200 (patch) | |
| tree | 06955e436e1d06bd2edece7c354b113337bd86f3 /lib/mpi/mpicoder.c | |
| parent | 1ecb9eaec78fbaa3187574c347165bb70e54fef3 (diff) | |
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>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
