diff options
author | 2022-02-26 17:25:31 +1300 | |
---|---|---|
committer | 2022-03-01 22:39:37 +0100 | |
commit | b497e06d2714b22200e0bad76111229c960debd5 (patch) | |
tree | 5610e1ec8b2eceed08f05cf9917d8e327c10d180 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | staging: r8188eu: use ieee80211 helper to read the "order" bit (diff) | |
download | wireguard-linux-b497e06d2714b22200e0bad76111229c960debd5.tar.xz wireguard-linux-b497e06d2714b22200e0bad76111229c960debd5.zip |
staging: pi433: prevent uninitialized data from being printed out
local_buffer is not initialised before data is passed to
spi_sync_transfer. In case spi* function fails then the dev_dbg
statement after that can potentially print out uninitialised data
this patch initialises local_buffer array.
Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Link: https://lore.kernel.org/r/Yhmruyr2BUn0+3O3@mail.google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions