wlan: Add NULL check for tail, probe response and assoc response

In wlan_hdd_cfg80211_alloc_new_beacon API, tail or proberesp_ies
or assocresp_ies can be NULL and dereferenced by passing to memcpy

Add NULL check for tail and proberesp_ies and assocresp_ies.

CRs-Fixed: 1115270
Change-Id: I90d3946a2aaca4fe93113da3b351343d281917a5
1 file changed
tree: 1fab4c7d64320d7857e0a7b51003f78ad380b466
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile