summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKent Overstreet2021-01-17 13:19:16 -0500
committerKent Overstreet2023-10-22 17:08:51 -0400
commitcd9f3dfe58709c7b0793a706d0dd0292a66237d5 (patch)
tree76d513b1dec713a0ae6e5954dbcfbb1b215aa119 /tools/perf/scripts/python/stackcollapse.py
parent280249b9d9b9a62562ddeb5429a7d29d2f03ba1c (diff)
bcachefs: Fix integer overflow in bch2_disk_reservation_get()
The sectors argument shouldn't have been a u32 - it can be up to U32_MAX (i.e. fallocate creating persistent reservations), and if replication is enabled we'll overflow when we calculate the real number of sectors to reserve. Oops. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions