android_kernel_motorola_sm6225/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
..
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
Kconfig fs/Kconfig: move omfs out 2009-01-22 13:15:58 +03:00
Makefile omfs: update kbuild to include OMFS 2008-07-26 12:00:05 -07: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 omfs: define filesystem structures 2008-07-26 12:00:05 -07:00