net: wireless: bcmdhd: fix buffer overrun in ePNOCommand
authorInsun Song <insun.song@broadcom.com>
Wed, 1 Feb 2017 04:44:48 +0000 (20:44 -0800)
committerEcco Park <eccopark@google.com>
Wed, 8 Feb 2017 21:32:35 +0000 (21:32 +0000)
commit5a434343e3515e2c1e29b879ed67898206016f3f
treec99c01b6848a8f4c5b690be9f0d9de185b0739f6
parent38cfc377c2f0acd6e46c2a9b864fd500a1e8e544
net: wireless: bcmdhd: fix buffer overrun in ePNOCommand

added boundary check not to override allocated buffer.

Change-Id: Ia52e29adf282cace8f3a66e1a9e80eb375aa1629
Signed-off-by: Insun Song <insun.song@broadcom.com>
Bug: 32475556
bcmdhd/wifi_hal/gscan.cpp