wlan: Fix static analysis error in limProcessTdls.c

Currently while populating 11a and 11b rates, there is
no bound check for rateset array. This can result in buffer
overflow. As a part of fix add bound check to avoid any
buffer overflow for the rateset.

Change-Id: Ib42f5de642ad54d5c2a1ccdab37d88928b98af01
CRs-fixed: 798054
1 file changed
tree: 92ccab45379c1a6b3370fff5627f21f2cd70d570
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile