aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorManjeet Singh <manjee@codeaurora.org>2016-12-27 17:48:37 +0530
committerJoey Rizzoli <joey@lineageos.org>2017-06-14 23:00:21 +0200
commit8e0949b61f89df3372c37d76abd28cfc8015e155 (patch)
tree86fbaa133bba8a5ff765c49263e1c2ff9d204f46 /net/lapb/lapb_timer.c
parent495a6a46f3d4626bf24ff56cb5ae1a3f4390f75f (diff)
prima: Add buf len check in wlan_hdd_cfg80211_testmode
In __wlan_hdd_cfg80211_testmode API no checks are in place that ensure that buflen is smaller or equal the size of the stack variable hb_params. Hence, the vos_mem_copy() call can overflow stack memory. Add buf len check to avoid stack overflow CRs-Fixed: 1105085 Change-Id: I6af6a74cc38ebce3337120adcf7e9595f22d3d8c
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions