summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorSivanesan Rajapupathi <srajap@codeaurora.org>2016-02-16 14:31:17 -0500
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:20:40 -0700
commit112e4366ae85b6f1f1a4155a57aa37487a98f352 (patch)
tree41e6c8e1d25ce8bc14c8e3bd822a8a5bd2c944d6 /drivers/net
parent8cda11332431479d5f52e1527e5bce3e379f2443 (diff)
crypto: msm: qcrypto: Fix hash crash if not last issue
If an ahash request is not final, the result variable of ahash_request may not exist. In the completion callback function, then, do not copy the digest result to result variable of ahash_request, if it not final. Otherwise, crash may happen. Change-Id: I169218e8658500539b19408eca3afeabcaa4816b Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com> Signed-off-by: Sivanesan Rajapupathi <srajap@codeaurora.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions