qcacld-3.0: Check for space termination of driver command name

qcacld-2.0 to qcacld-3.0 propagation

Currently, few hdd driver commands which expect input are not checked
for space termination of command name. Skip of this check can result
in buffer overread error.

To fix this, add check based on the length of command name.

Change-Id: I92a4efd7e729a9d792af166b4a09963886c9942f
CRs-Fixed: 2090558
1 file changed
tree: 498d127ebc6f4a8196ba2c911c90de507917d592
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt