prima: Resolve out of bound memory access, while processing setpno

propagation from qcacld-2.0 to prima

While processing setpno ioctl, there is an out of bound memory
issue when Host is copying ioctl arguments to a local buffer .

While copying ioctl arguments, make sure valid indices are used.

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