diff options
author | 2014-02-04 01:38:35 +0300 | |
---|---|---|
committer | 2014-02-07 11:10:08 -0800 | |
commit | e6ff3f4e6d258021fe041d7acf5d013c26bf387b (patch) | |
tree | 875c3aec92b193722c89cf0494956b947bc159cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: r8188eu: array overflow in rtw_mp_ioctl_hdl() (diff) | |
download | linux-dev-e6ff3f4e6d258021fe041d7acf5d013c26bf387b.tar.xz linux-dev-e6ff3f4e6d258021fe041d7acf5d013c26bf387b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions