net: wireless: bcmdhd: add string buffer bound check in wifi_set_epno_list

When attack control user input SSID buffer,
it would not be NULL terminated and eventually hit OOB read.

Bug: 111830385

Change-Id: I13513acf3fc84c8da3184b43022ac8ed7984596d
Signed-off-by: Insun Song <insun.song@broadcom.com>
(cherry picked from commit f3e8b81ef9c1725824b3577a93863a644883b315)
1 file changed
tree: 81f4894bdfacddfdd3711b025c469e5e85e93238
  1. bcmdhd/
  2. .gitignore
  3. CleanSpec.mk