Home
last modified time | relevance | path

Searched hist:f068272cb2f134a194b93e94a8e0672bfce48cd8 (Results 1 – 4 of 4) sorted by relevance

/linux/fs/omfs/
H A Domfs.hdiff f068272cb2f134a194b93e94a8e0672bfce48cd8 Sat Sep 06 23:51:53 CEST 2008 Bob Copeland <me@bobcopeland.com> 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>
H A Ddir.cdiff f068272cb2f134a194b93e94a8e0672bfce48cd8 Sat Sep 06 23:51:53 CEST 2008 Bob Copeland <me@bobcopeland.com> 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>
H A Dfile.cdiff f068272cb2f134a194b93e94a8e0672bfce48cd8 Sat Sep 06 23:51:53 CEST 2008 Bob Copeland <me@bobcopeland.com> 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>
H A Dinode.cdiff f068272cb2f134a194b93e94a8e0672bfce48cd8 Sat Sep 06 23:51:53 CEST 2008 Bob Copeland <me@bobcopeland.com> 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>