diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2014-04-15 19:43:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-15 15:34:40 -0700 |
commit | f5d197b614d8fbc5c25307e7eff1d663653966fa (patch) | |
tree | b48cd1c72b99e0e8fcb50a53d09fe2e56518e6a4 /drivers/clocksource/qcom-timer.c | |
parent | 14e6e35d04995c118f41582299f6861ab209bdb3 (diff) |
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/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions