commit | ef55ac221e015315ccdc87aeb908a25fd7d4463f | [log] [tgz] |
---|---|---|
author | Li Feng <lifeng@codeaurora.org> | Tue Apr 28 14:21:47 2020 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Tue May 12 16:51:12 2020 -0700 |
tree | d89fc0ffef30f382842791e3aa3202b4559d2842 | |
parent | ad3d7422a1db2f9bf062e1f77e96996e0db0d723 [diff] |
qcacld-3.0: Add sanity check for allocated mac address The mac address as pointer which is allocated by wlan_hdd_get_intf_addr() may be null, and there is risk about null pointer dereference without sanity check. The fix is to add necessary null pointer check. Change-Id: Ie0c3f841174e78b0d0b35e321ef7ca6b4cfdbe9a CRs-Fixed: 2673727