wlan: Fix NULL pointer de-reference

In WDA_ProcessWlanSuspendInd and WDA_Process_apfind_set_cmd,
driver references pointer returned by vos_mem_malloc without
validation. This can result in NULL pointer access.

Fix is to validate pointer variable returned by 'vos_mem_malloc'
before dereferencing it.

Change-Id: I909588c11a83096b3767ba039e1dddd3a3395fad
CRs-Fixed: 2195663
1 file changed
tree: 3345ce999ba9f33c8ee17efc63db8dd90bbb04d1
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile