e2fsprogs/lib
Eric Sandeen bd828a27e2 Fix test in ext2fs_check_desc() for inode table within block group
The test in ext2fs_check_desc() is off by one; if the inode table
goes all the way to the last block of the block group, it will
falsely assert that it has extended past it.  The last block
of a range is start + len -1, not start + len.

You can create (valid) filesystems that will cause e2fsck to complain
via one of the following mkfs commands:

mkfs.ext3 -F -b 1024 /dev/sdb1 2046000000
mke2fs -j -F -b 4096 -m 0 -N 5217280 /mnt/test/fsfile2 327680
mkfs.ext2 -F -b 1024 -m 0 -g 256 -N 3744 fsfile 1024

Addresses-Red-Hat-Bugzilla: #214765

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-22 16:00:43 -04:00
..
blkid Add debugging printf to blkid's probe routine when original fs type failed 2007-07-08 20:17:31 -04:00
e2p Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
et Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
ext2fs Fix test in ext2fs_check_desc() for inode table within block group 2007-07-22 16:00:43 -04:00
ss Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
uuid Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
Makefile.bsd-lib Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
Makefile.checker Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
Makefile.darwin-lib Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
Makefile.elf-lib Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
Makefile.library Fix build when not building any shared libraries. 2006-03-17 21:59:13 -05:00
Makefile.profile Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
Makefile.solaris-lib Fix the subdirs logic so it works with GNU make 3.80 2006-03-10 21:39:40 -05:00
fpopen.c fpopen.c: 1999-06-18 01:13:31 +00:00