diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2022-06-07 22:26:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 09:11:24 +0200 |
commit | b9c5e272062708680d47df433bfbfe5299ad1a63 (patch) | |
tree | 1047bd756a74a7fd893dc52c8ebdfa8ed71208bd /scripts/gdb/linux/config.py | |
parent | fed9e604eeb6150847d9757f6b056c12912d468b (diff) |
staging: r8188eu: add error handling of rtw_read32
rtw_read32() reads data from device via USB API which may fail. In case
of any failure previous code returned stack data to callers, which is
wrong.
Fix it by changing rtw_read32() prototype and prevent caller from
touching random stack data
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Link: https://lore.kernel.org/r/583c3d21c46066275e4fc8da5ba4fd0e3679335b.1654629778.git.paskripkin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions