Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2c79fa65 authored by Piyush Dhyani's avatar Piyush Dhyani Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarPiyush Dhyani <pdhyani@codeaurora.org>
parent 77d80f4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment