wlan: Validate wpa ie length before extracting ie

Propagation from qcacld-3.0 to prima.

During initializing ibss security settings there is a possibility
of integer underflow while extracting wpa ie because of ie length
check miss.

Add wpa ie length boundary check before extracting wpa ie.

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