diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2014-04-15 17:43:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-15 22:34:40 (GMT) |
commit | f5d197b614d8fbc5c25307e7eff1d663653966fa (patch) | |
tree | b48cd1c72b99e0e8fcb50a53d09fe2e56518e6a4 /drivers/staging/Makefile | |
parent | 14e6e35d04995c118f41582299f6861ab209bdb3 (diff) | |
download | linux-f5d197b614d8fbc5c25307e7eff1d663653966fa.tar.xz |
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 'drivers/staging/Makefile')
0 files changed, 0 insertions, 0 deletions