diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-02-04 01:38:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 11:10:08 -0800 |
commit | e6ff3f4e6d258021fe041d7acf5d013c26bf387b (patch) | |
tree | 875c3aec92b193722c89cf0494956b947bc159cb /drivers/staging/Kconfig | |
parent | 893134b084e137b92476ec11ce90790b5f568bb9 (diff) |
staging: r8188eu: overflow in rtw_p2p_get_go_device_address()
The go_devadd_str[] array is two characters too small to hold the
address so we corrupt memory.
I've changed the user space API slightly and I don't have a way to test
if this breaks anything. In the original code we truncated away the
last digit of the address and the NUL terminator so it was already a bit
broken.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/Kconfig')
0 files changed, 0 insertions, 0 deletions