summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-08 22:53:03 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-10 22:21:04 +0300
commit94817db95681155437100d9f25b3e1390fff8ad6 (patch)
tree82d95c33b56716444180b897232d3f0932f4523b /net
parentb3eba6a4a7e3e148abfde7a30daa855839fcc043 (diff)
downloadlinux-94817db95681155437100d9f25b3e1390fff8ad6.tar.xz
bcachefs: Correctly validate k->u64s in btree node read path
validate_bset_keys() never properly validated k->u64s; it checked if it was 0, but not if it was smaller than keys for the given packed format; this fixes that small oversight. This patch was backported, so it's adding quite a few error enums so that they don't get renumbered and we don't have confusing gaps. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions