wlan: fix unsafe code after VOS_ASSERT

The WLAN module extensively uses the VOS_ASSERT macro, which either does
nothing or emits a warning (depending on conditional compilation) and
continues, i.e. it does not abort.  Use of VOS_ASSERT is unsafe in
instances where the assert performs out-of-bounds or NULL pointer
checks.
Patch takes care to bailout where ever it is unsafe to continue.

Change-Id: Ida1b72f4292f0b5d30b307b5ee43748e4af99a78
CRs-Fixed: 556307
11 files changed
tree: ec17c792a4a19b1893e71835584b08db34484b95
  1. CORE/
  2. firmware_bin/
  3. prima/
  4. riva/
  5. Android.mk
  6. Kbuild
  7. Kconfig