net: wireless: bcmdhd_88: Verify SSID length
authorAshwin <ashwin.bhat@broadcom.com>
Thu, 18 Feb 2016 22:37:04 +0000 (14:37 -0800)
committerDhiren Parmar <dparmar@nvidia.com>
Mon, 30 May 2016 09:39:46 +0000 (02:39 -0700)
commit8d15b72bf03b54f1f0e1698c416d50d606ff8e73
tree1e8c7c361e06578fc2d8a5a579fe81b5f1941649
parent0d838123612eb898321c4a524a5ee878a8cdf895
net: wireless: bcmdhd_88: Verify SSID length

ANDROID-26571522 fix from
  https://android.googlesource.com/kernel/msm.git

Original commit message:
> Ensure SSID length is correct before memcpy
>
> Bug: 26571522
> Bug: 27240072

Bug 1761317

Change-Id: I2b0279cd360fad613546c8aa280e0c6f4524763c
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
(cherry picked from commit c8a8d33845f07755f3bab9af3ac6a6fa18a09b3d)
Reviewed-on: http://git-master/r/1154017
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c
drivers/net/wireless/bcmdhd_88/wl_cfg80211.c