android_kernel_motorola_sm6375/fs/omfs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bob Copeland 9419fc1c95 omfs: fix oops when file metadata is corrupted
A fuzzed fileystem image failed with OMFS when the extent count was
used in a loop without being checked against the max number of extents.
It also provoked a signed division for an array index that was checked
as if unsigned, leading to index by -1.

omfsck will be updated to fix these cases, in the meantime bail out
gracefully.

Reported-by: Eric Sesterhenn <[email protected]>
Signed-off-by: Bob Copeland <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-08-15 08:35:44 -07:00
..
bitmap.c omfs: fix oops when file metadata is corrupted 2008-08-15 08:35:44 -07:00
dir.c omfs: sparse annotations 2008-07-30 09:41:46 -07:00
file.c omfs: fix oops when file metadata is corrupted 2008-08-15 08:35:44 -07:00
inode.c omfs: fix potential oops when directory size is corrupted 2008-08-15 08:35:44 -07:00
Makefile omfs: update kbuild to include OMFS 2008-07-26 12:00:05 -07:00
omfs.h
omfs_fs.h