commit | 99e535307c7cccd77dda37397c51c3add7e3262c | [log] [tgz] |
---|---|---|
author | AnilKumar Chimata <anilc@codeaurora.org> | Fri Oct 04 19:34:53 2013 +0530 |
committer | AnilKumar Chimata <anilc@codeaurora.org> | Thu Nov 14 17:22:33 2013 +0530 |
tree | 345b5293f2c7a4b05ad0a2c2943e757deb748c6c | |
parent | 08b7397febd0e9da8304807f0240e0f82d329a35 [diff] |
crypto: msm: Fix issues related to non-zero byteoffset input Fix buffer overflow for a non-zero byteoffset value. Also fixes memory leak issue by adding data_len check in check_params. One of the scenarios data_len can be less than byteoffset which results in memory leak with huge data length, which might cause the kernel panic. Change-Id: I3f773673219f45dad4f17499b1ee0feda2aff1f7 Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>