diff options
author | 2021-04-16 08:46:50 +0800 | |
---|---|---|
committer | 2021-04-16 13:44:13 +0100 | |
commit | 2530b3df4326023a171977ab46fdfeac0340f5b2 (patch) | |
tree | 0d2d7ac6658c973f96fbe78a43fc34c9fb8016b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume (diff) | |
download | wireguard-linux-2530b3df4326023a171977ab46fdfeac0340f5b2.tar.xz wireguard-linux-2530b3df4326023a171977ab46fdfeac0340f5b2.zip |
spi: spi-zynqmp-gqspi: Resolved slab-out-of-bounds bug
During a transfer the driver filled the fifo with 4bytes,
even if the data that needs to be transfer is less that 4bytes.
This resulted in slab-out-of-bounds bug in KernelAddressSanitizer.
This patch resolves slab-out-of-bounds bug by filling the fifo
with the number of bytes that needs to transferred.
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Link: https://lore.kernel.org/r/20210416004652.2975446-4-quanyang.wang@windriver.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions