summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-20 05:18:39 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:14 +0300
commita55fc65eb2c71da5d422937db767a78c6438f9b6 (patch)
treebcd324fe6e308cf3de514dce898ded93b63ec6c2 /scripts/gdb/linux/utils.py
parentf7f6943a8c6dccbd085600bbb7bae4f6f6047dc4 (diff)
downloadlinux-a55fc65eb2c71da5d422937db767a78c6438f9b6.tar.xz
bcachefs: Fix an overflow check
When bucket sector counts were changed from u16s to u32s, a few things were missed. This fixes an overflow check, and a truncation that prevented the overflow check from firing. Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions