FS/OMFS: block number sanity check during fill_super operation
This patch defines maximum block number to 2^31. It also converts bitmap_size and array_size to unsigned int in omfs_get_imap Signed-off-by: NFabian Frederick <fabf@skynet.be> Suggested-by: NLinus Torvalds <torvalds@linux-foundation.org> Suggested-by: NBob Copeland <me@bobcopeland.com> Acked-by: NBob Copeland <me@bobcopeland.com> Tested-by: NBob Copeland <me@bobcopeland.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录