summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2022-06-07 22:26:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-10 09:11:04 +0200
commit857fe9e5efc09833fe1110e99d8baba954a86abb (patch)
tree6002f19c55a97da5f854e35dd00949bec9937f82 /lib/debugobjects.c
parentda30e351882965df99455904c3c020d138899d9f (diff)
staging: r8188eu: add error handling of rtw_read8
rtw_read8() 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_read8() prototype and prevent caller from touching random stack data Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Link: https://lore.kernel.org/r/c8f8ef4f14db3ba2478a87d5be6eb768a093dfaf.1654629778.git.paskripkin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions