diff options
author | 2014-04-15 19:43:20 +0200 | |
---|---|---|
committer | 2014-04-15 15:34:40 -0700 | |
commit | f5d197b614d8fbc5c25307e7eff1d663653966fa (patch) | |
tree | b48cd1c72b99e0e8fcb50a53d09fe2e56518e6a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: gs_fpgaboot: remove __TIMESTAMP__ macro (diff) | |
download | wireguard-linux-f5d197b614d8fbc5c25307e7eff1d663653966fa.tar.xz wireguard-linux-f5d197b614d8fbc5c25307e7eff1d663653966fa.zip |
staging: rtl8723au: Fix buffer overflow in rtw_get_wfd_ie()
Add bounds checking to not allow WFD Information Elements larger than
128, and make sure we use the correct buffer size MAX_WFD_IE_LEN
instea of hardcoding the size.
This also simplifies rtw_get_wfd_ie() by using the cfg80211
infrastructure.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions