commit e900fafc3b2d0885371acc35ef6bc41df86ac8fb
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Mar 18 02:29:07 2025 +0100

    ext2fs: extend end check for ext2_free_blocks
    
    Since it can free more than one block.

diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c
index fc09c0d1..231ab589 100644
--- a/ext2fs/balloc.c
+++ b/ext2fs/balloc.c
@@ -65,7 +65,7 @@ ext2_free_blocks (block_t block, unsigned long count)
 
   /* Trap trying to free superblock, block group descriptor table, or beyond the end */
   assert_backtrace (block >= group_desc_block_end
-		 && block < store->size >> log2_block_size);
+		 && block + count <= store->size >> log2_block_size);
 
   pthread_spin_lock (&global_lock);
 
