summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-02-06 23:42:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-07 09:19:30 -0800
commit7a081ea20e043f243b6fb9d50448cbe757fbb860 (patch)
tree61ac41d402613b3246d01fe5fefbeb9acd5f5214 /tools/perf/scripts/python/sctop.py
parentd3a874e899b073496d1fe89b6a2d1aa50870874d (diff)
staging: r8188eu: memory corruption handling long ssids
We should cap the SSID length at NDIS_802_11_LENGTH_SSID (32) characters to avoid memory corruption. If the SSID is too long then I have opted to ignore it instead of truncating it. We don't need to clear bssid->Ssid.Ssid[0] because this struct is allocated with rtw_zmalloc() Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions