Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/ext4
Andries E. Brouwer b47b6f38e5 ext3, ext4: avoid divide by zero
As it turns out, the kernel divides by EXT3_INODES_PER_GROUP(s) when
mounting an ext3 filesystem.  If that number is zero, a crash follows.
Below a patch.

This crash was reported by Joeri de Ruiter, Carst Tankink and Pim Vullers.

Cc: <linux-ext4@vger.kernel.org>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-17 19:28:16 -08:00
..
acl.c Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check 2007-07-17 12:00:03 -07:00
acl.h
balloc.c Revert "ext2/ext3/ext4: add block bitmap validation" 2007-11-13 08:09:11 -08:00
bitmap.c fs: mark nibblemap const 2007-10-17 08:42:47 -07:00
dir.c ext4: remove #ifdef CONFIG_EXT4_INDEX 2007-10-17 18:50:00 -04:00
ext4_jbd2.c
extents.c ext4: Convert ext4_extent_idx.ei_leaf to ext4_extent_idx.ei_leaf_lo 2007-10-17 18:50:03 -04:00
file.c fallocate support in ext4 2007-07-17 21:42:41 -04:00
fsync.c ext4: sparse fixes 2007-10-17 18:50:03 -04:00
group.h Ext4: Uninitialized Block Groups 2007-10-17 18:50:00 -04:00
hash.c
ialloc.c Ext4: Uninitialized Block Groups 2007-10-17 18:50:00 -04:00
inode.c ext4: sparse fixes 2007-10-17 18:50:03 -04:00
ioctl.c Forbid user to change file flags on quota files 2007-11-14 18:45:38 -08:00
Makefile
namei.c ext4: remove #ifdef CONFIG_EXT4_INDEX 2007-10-17 18:50:00 -04:00
namei.h
resize.c ext4: lighten up resize transaction requirements 2007-10-17 18:50:04 -04:00
super.c ext3, ext4: avoid divide by zero 2007-12-17 19:28:16 -08:00
symlink.c
xattr.c ext4: sparse fixes 2007-10-17 18:50:03 -04:00
xattr.h ext4: Expand extra_inodes space per the s_{want,min}_extra_isize fields 2007-07-18 09:19:57 -04:00
xattr_security.c
xattr_trusted.c
xattr_user.c