mirror of https://gitee.com/openkylin/linux.git
ec14121931
There is a check to see if pmlmepriv is null before vfree'ing
pmlmepriv->free_bss_buf hence implying pmlmepriv could potenially be
null. However, a previous call to rtw_free_mlme_priv_ie_data
can also dereference pmlmepriv, so move this call so that it is only
called if pmlmepriv non-null.
Detected by CoverityScan, CID#1077739 ("Dereference before null check")
Fixes:
|
||
---|---|---|
.. | ||
core | ||
hal | ||
include | ||
os_dep | ||
Kconfig | ||
Makefile | ||
TODO |