commit | 66e478b0351ca6b63eee2ba7c89df936e4714d63 | [log] [tgz] |
---|---|---|
author | Zhen Kong <zkong@codeaurora.org> | Mon Jul 18 13:20:18 2016 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Aug 05 18:23:51 2017 +0200 |
tree | 08d6911dff097b0fc5424426df968c9a30072ef4 | |
parent | 483e06f1e12b4b149644f4a507d91b5f3af32c7e [diff] |
qseecom: validate the inputs of __qseecom_send_modfd_resp The resp_len and resp_buf_ptr of qseecom_send_modfd_listener_resp are not checked, then an userspace application that manipulates resp_len can corrupt the kernel memory. Thus make changes to validate these parameters. CRs-fixed: 1036418 Change-Id: Id43ec6b55b332d0dac09a9abb998a410f49b44f7 Signed-off-by: Zhen Kong <zkong@codeaurora.org>