commit | 5bd28bc2e4748d828a03dabd6122f004e31b9e98 | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Sat Apr 26 18:54:49 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 26 10:16:11 2014 -0700 |
tree | 3115944e6cf541c1a20a9c6eb2d261ce6b68affc | |
parent | 7591ba8be2c695d651c55f37981880c77b804498 [diff] |
staging: rtl8723au: Check kmalloc return value and fix size of memcpy() Check kmalloc() return before dereferencing bssid in rtw_check_bcn_info23a() and use the correct size to copy rtw_basic_rate_ofdm in update_bmc_sta_support_rate23a() 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>