summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-13 02:51:15 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-20 01:27:23 +0300
commitd47df4f616d523b4ef832d03ec28b2e6d838067b (patch)
tree9765c12aaf7cf67f02958f8822d4f686c850bce7 /scripts/gdb/linux/utils.py
parentf770a6e9a3d7a90f77863b51325614f37a57fef5 (diff)
downloadlinux-d47df4f616d523b4ef832d03ec28b2e6d838067b.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions