summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/ethernet.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-05-14 17:26:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-19 16:02:51 +0200
commite2a027109422ee07f2a17ee200cfee821b36dc3f (patch)
tree2be54a926cf50e399be3d0a1c6b1db616f395d64 /drivers/staging/rtl8712/ethernet.h
parentd8218b0de51f36f01ed67731ccf174059a33bb1e (diff)
staging: rtl8712: fix the bssid in mp_start_test()
We recently moved "bssid" off the stack, and allocated it with kmalloc() instead. Unfortunately, this one line was overlooked so it will copy random data into the &tgt_network->network instead of the data we want. Fixes: 0b18e5fe6008 ("staging: rtl8712: rtl871x_mp_ioctl: Move a large data struct onto the heap") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YJ6IrfkbdaTHgpEv@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/ethernet.h')
0 files changed, 0 insertions, 0 deletions