wlan: avoid buffer overflow in hdd_parse_channellist()

Static source code analysis identified multiple buffer overflow issues
in hdd_parse_channellist().  Some, but not all, were addressed in a
recent change.  Address the other outstanding buffer overflow issues.

Change-Id: I25d073a3e32f557ae3217fe9348dad9a04d79331
CRs-fixed: 470188
1 file changed
tree: c63f191b84acc279742081cb21984b818da0b7d1
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig