commit | 2c79fa65a4fc5d4cd32e251c0616a8d5aa9775a9 | [log] [tgz] |
---|---|---|
author | Piyush Dhyani <pdhyani@codeaurora.org> | Sun Nov 29 23:52:24 2020 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Dec 16 21:46:44 2020 -0800 |
tree | 6d928391051176d05bdb5c00a13e69ef22d3003d | |
parent | 77d80f4d6092c9319ccf47d5c10c58dc43fbed22 [diff] |
msm: ipa: Fix buffer overflow issue Currently during IPA_IOC_GET_PHERIPHERAL_EP_INFO ioctl we are not returning for the invalid values of max_ep_pairs and ep_pair_size, which is resulting in call of functions with invalid parameters. So now changing the control when we receive unexpected values. Change-Id: Idc0a8986478ece5eaad2a31152c2a16cd758b612 Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>