diff options
author | Karen Dombroski <karen.dombroski@marsbioimaging.com> | 2021-04-28 23:38:02 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-29 14:06:06 +0100 |
commit | 6d5ff8e632a4f2389c331e5554cd1c2a9a28c7aa (patch) | |
tree | f6ac6486e19690176af031300320271fc7054364 /fs/jbd2/transaction.c | |
parent | 121271f08809e5dc01d15d3e529988ac5d740af6 (diff) | |
download | linux-6d5ff8e632a4f2389c331e5554cd1c2a9a28c7aa.tar.bz2 |
spi: spi-zynq-qspi: Fix stack violation bug
When the number of bytes for the op is greater than one, the read could
run off the end of the function stack and cause a crash.
This patch restores the behaviour of safely reading out of the original
opcode location.
Signed-off-by: Karen Dombroski <karen.dombroski@marsbioimaging.com>
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Link: https://lore.kernel.org/r/20210429053802.17650-3-amit.kumar-mahapatra@xilinx.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/jbd2/transaction.c')
0 files changed, 0 insertions, 0 deletions