diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-08 14:53:03 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-10 15:21:04 -0400 |
| commit | 94817db95681155437100d9f25b3e1390fff8ad6 (patch) | |
| tree | 82d95c33b56716444180b897232d3f0932f4523b /tools/perf/scripts/python/libxed.py | |
| parent | bcachefs: Fix degraded mode fsck (diff) | |
| download | linux-94817db95681155437100d9f25b3e1390fff8ad6.tar.gz linux-94817db95681155437100d9f25b3e1390fff8ad6.zip | |
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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
