commit | 9e70f2949364035043545a802f7f0ebb4d85202e | [log] [tgz] |
---|---|---|
author | AnilKumar Chimata <anilc@codeaurora.org> | Fri Oct 04 19:34:53 2013 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Nov 19 06:55:15 2013 -0800 |
tree | ca505f10eab08ccf472aae91382a4db67ef74d42 | |
parent | 6f51c44f07bf6e393e93e87fc2e76c7b1b35d577 [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>