android_kernel_xiaomi_sm8350/core
Sourav Mohapatra 5ab5180d9e qcacld-3.0: Rectify possible scenario of double free
Presently in the driver, in function hdd_objmgr_create_and_store_vdev
the vdev object is created and stored. In case the creation of the vdev
fails due to some reason, the corresponding error condition tries to
free the osif_priv pointer. This osif_free pointer is actually already
freed as a part of vdev_obj_delete -> vdev_release_ref -> vdev_obj_free.
As this is already freed, a possible double free scenario can occur in
the original error handling scenario.

To avoid this scenario, do not free the osif_priv pointer in the error
handling as it is already taken care in the caller.

Change-Id: I7fc7be187ce1e303c81da885a75c600a7b6c4b3e
CRs-Fixed: 2507432
2019-08-18 10:10:25 -07:00
..
bmi qcacld-3.0: Send user space about FW CRASHED indication 2019-07-05 23:07:30 -07:00
cds qcacld-3.0: Don't call pld_collect_rddm in trigger recovery handler 2019-08-10 04:05:01 -07:00
dp qcacld-3.0: Cleanup ol_txrx_get_tx_resource[PEER_ID_PHASE1] 2019-08-17 10:53:38 -07:00
hdd qcacld-3.0: Rectify possible scenario of double free 2019-08-18 10:10:25 -07:00
mac Release 5.2.0.144P 2019-08-18 08:20:30 -07:00
pld qcacld-3.0: Add sdio support for pld_wlan_enable 2019-08-08 11:37:51 -07:00
sap qcacld-3.0: Avoid channel 12, 13 for SAP operation 2019-08-16 08:22:37 -07:00
sme qcacld-3.0: Add debug print for beacon report meas mode 2019-08-16 10:48:31 -07:00
wma qcacld-3.0: Add vdev start, stop, and set-key wakelock for runtime PM 2019-08-14 17:01:55 -07:00