wlan: DroidSec: String handling and input validation issues

Fix to address String handling and input validation issues
in function hdd_parse_reassoc_command_data and
hdd_parse_channellist

1. Input character buffer is zero terminated
2. Helper function is added to verify MAC address
3. return value of sscanf is checked

Change-Id: I352959c46488c1730ca35bf15f5f2d380ff3ac85
CRs-Fixed:  553494
2 files changed
tree: f4cde2d04d2639b228a022691e3e4ba6be78dc24
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig