summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-12 19:51:15 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-19 18:27:23 -0400
commitd47df4f616d523b4ef832d03ec28b2e6d838067b (patch)
tree9765c12aaf7cf67f02958f8822d4f686c850bce7 /drivers
parentf770a6e9a3d7a90f77863b51325614f37a57fef5 (diff)
downloadlinux-d47df4f616d523b4ef832d03ec28b2e6d838067b.tar.gz
linux-d47df4f616d523b4ef832d03ec28b2e6d838067b.tar.bz2
linux-d47df4f616d523b4ef832d03ec28b2e6d838067b.zip
bcachefs: Fix array-index-out-of-bounds
We use 0 size arrays as markers, but ubsan doesn't know that - cast them to a pointer to fix the splat. Also, make sure this code gets tested a bit more. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions