Skip to content
Snippets Groups Projects
Commit ae7edb3a authored by Srinivas Girigowda's avatar Srinivas Girigowda Committed by Wei Wang
Browse files

qcacld-2.0: Add sanity check to avoid len overflow issue in WMI event data


In WMI/WMA, data from event buffer from FW is used without
sanity checks for upper limit in multiple places. This might
lead to a potential integer overflow further leading to buffer
corruption

Add upper bound checks for max limit of event buffer (1536)
in all affected places to prevent the potential integer
overflow

Bug: 68992434
Change-Id: I30826bb69939bcf02ac850bd2d22ada4795b3c98
CRs-Fixed: 2098519
Bug: 68992421
Signed-off-by: default avatarSrinivas Girigowda <sgirigow@codeaurora.org>
parent 923a9ebb
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment