wlan: Fix for kernel panic when connecting p2p to Samsung Smart TV.

As per Stability team's analysis, nBufRemaining value in UnpackTlvCore()
function was set to abnormally big value when data is incomplete. And it
led to kernel crash.
Adding a length check to avoid the kernel panic.

Change-Id: Iaf3d597c6ef707a519430749d99ed9bd35bfa6e5
CR-Fixed: 415609
2 files changed
tree: 961269f7ac0da65b788a33c8d75f1653c3f6c230
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Kconfig
  5. Makefile