Whamcloud - gitweb
libext2fs: Add some fail-safe checks to the 32-bit bitmap code
authorTheodore Ts'o <tytso@mit.edu>
Sun, 31 Jan 2010 01:08:11 +0000 (20:08 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 31 Jan 2010 01:20:21 +0000 (20:20 -0500)
commitc21cde9986e69756254b65b7a48974222f358a2e
tree9747f0919c125a3717d42ff45810e9c19a187163
parentde43f224d4b6565266f8c2caacfe2a82f03cabb0
libext2fs: Add some fail-safe checks to the 32-bit bitmap code

If a 64-bit bitmap is passed to a 32-bit bitmap function, add some
checks to make sure that we print a useful error message so we can
better catch potential problems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ext2fsP.h
lib/ext2fs/gen_bitmap.c
lib/ext2fs/gen_bitmap64.c