aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorPei Li <[email protected]>2024-06-25 16:42:05 +0000
committerDave Kleikamp <[email protected]>2024-06-26 17:57:32 +0000
commit7063b80268e2593e58bee8a8d709c2f3ff93e2f2 (patch)
tree65e7d5757a64c1997eb1b340444d14622f9fa69d /drivers/fpga/tests/fpga-bridge-test.c
parentjfs: Fix array-index-out-of-bounds in diFree (diff)
downloadkernel-7063b80268e2593e58bee8a8d709c2f3ff93e2f2.tar.gz
kernel-7063b80268e2593e58bee8a8d709c2f3ff93e2f2.zip
jfs: Fix shift-out-of-bounds in dbDiscardAG
When searching for the next smaller log2 block, BLKSTOL2() returned 0, causing shift exponent -1 to be negative. This patch fixes the issue by exiting the loop directly when negative shift is found. Reported-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=61be3359d2ee3467e7e4 Signed-off-by: Pei Li <[email protected]> Signed-off-by: Dave Kleikamp <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions