git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d9e38
)
omfs: check bounds on block numbers before passing to sb_bread
author
Bob Copeland
<me@bobcopeland.com>
Sat, 6 Sep 2008 21:51:53 +0000
(17:51 -0400)
committer
Bob Copeland
<me@bobcopeland.com>
Sat, 10 Jul 2010 18:37:06 +0000
(14:37 -0400)
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>
No differences found