Whamcloud - gitweb
Add checks for fs->blocksize == 0 which could cause some crashes
authorTheodore Ts'o <tytso@mit.edu>
Tue, 23 Feb 2021 21:02:42 +0000 (16:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Feb 2021 21:02:42 +0000 (16:02 -0500)
commit03130cc27f08143e18cd17ec2677ace5ac22fdb0
tree50e1300f86d3558f034c8c9fe1af7e0b7b1a2d5c
parent61ec4fba1d81111403265031513e787486cca3f0
Add checks for fs->blocksize == 0 which could cause some crashes

This should never happeb, but some checks is useful, and also fixes
some Coverity warnings.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/do_journal.c
lib/ext2fs/csum.c
lib/ext2fs/ext2_err.et.in
lib/ext2fs/inode.c
misc/e2image.c