diff options
author | Roman Smirnov <[email protected]> | 2024-06-20 10:24:13 +0300 |
---|---|---|
committer | Jan Kara <[email protected]> | 2024-06-26 12:54:11 +0200 |
commit | 56e69e59751d20993f243fb7dd6991c4e522424c (patch) | |
tree | 8d479c29747d9eb7121ee5b109ef530eaad08b8a /scripts/rustdoc_test_builder.rs | |
parent | ebbe26fd54a9621994bc16b14f2ba8f84c089693 (diff) |
udf: prevent integer overflow in udf_bitmap_free_blocks()
An overflow may occur if the function is called with the last
block and an offset greater than zero. It is necessary to add
a check to avoid this.
Found by Linux Verification Center (linuxtesting.org) with Svace.
[JK: Make test cover also unalloc table freeing]
Link: https://patch.msgid.link/[email protected]
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Roman Smirnov <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions