diff options
| author | Zhen Kong <zkong@codeaurora.org> | 2016-10-24 13:52:04 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-27 12:14:09 -0700 |
| commit | 492459ec60574688190378200833ebb2ab5f1283 (patch) | |
| tree | 551c11424205ee19e239577df38db518b2aacf81 /tools/perf/scripts/python | |
| parent | bcd8ec9210c9048c14d934e16267ba79a894db09 (diff) | |
msm: crypto: Fix integer over flow check in qce driver
Integer overflow check is invalid when ULONG_MAX is used,
as ULONG_MAX has typeof 'unsigned long', while areq->assoclen,
q_req->crytlen, and qreq.ivsize are 'unsigned int'. Make change
to use UINT_MAX instead of ULONG_MAX.
Change-Id: If2bb1900c07af1ea162da362c913d4880b0bc755
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
