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

Commit 9617d3b8 authored by Sourav Mohapatra's avatar Sourav Mohapatra Committed by nshrivas
Browse files

qcacld-3.0: Add NULL check for adapter->vdev in interop_ap

In the function __wlan_cfg80211_set_interop_issues_ap_config the
adapter->vdev pointer is being passed to fetch the psoc without any
prior NULL check. This can lead to NULL pointer dereference.

Add a NULL sanity check before performing action based on adapter->vdev

CRs-Fixed: 2681524
Change-Id: I0c58a3a263fe5166e0c13a5f866f4bccfa031086
parent e133d566
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment