linux-sg2042/fs/omfs
Bob Copeland f068272cb2 omfs: check bounds on block numbers before passing to sb_bread
In case of filesystem corruption, passing unchecked block numbers into
sb_bread can result in an infinite loop in __getblk().  Introduce a wrapper
function omfs_sbread() to check the block numbers and to also perform the
clus_to_blk() scaling.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
2010-07-10 14:37:06 -04:00
..
Kconfig
Makefile
bitmap.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
dir.c omfs: check bounds on block numbers before passing to sb_bread 2010-07-10 14:37:06 -04:00
file.c omfs: check bounds on block numbers before passing to sb_bread 2010-07-10 14:37:06 -04:00
inode.c omfs: check bounds on block numbers before passing to sb_bread 2010-07-10 14:37:06 -04:00
omfs.h omfs: check bounds on block numbers before passing to sb_bread 2010-07-10 14:37:06 -04:00
omfs_fs.h