Commit 7ee2085a authored by Piyush Dhyani's avatar Piyush Dhyani Committed by Shrirang Bagul
Browse files

msm: ipa: Fix buffer overflow issue

BugLink: https://bugs.launchpad.net/bugs/1931727



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>
(cherry picked from commit db3f8f4fc5147f7d9b46ef7149d885f89a2535f9)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 4706a402
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment