Skip to contentSkip to conversation

libext2fs: don't break when ext2fs_clear_generic_bmap() for 32-bit bitmaps

PATCH New Theodore Ts'o 1 participant 1 message Dec 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libext2fs: don't break when ext2fs_clear_generic_bmap() for 32-bit bitmaps

This is only an issue for programs compiled against e2fsprogs 1.41 that manipulate bitmaps directly. Fortunately there are very few programs which do that, especially those that try to clear a bitmap.

Addresses-Sourceforge-Bugs: #3451486

---
 lib/ext2fs/gen_bitmap64.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
lib/ext2fs/gen_bitmap64.c +0 -0
index 9dbbf9f..4dc4e08 100644
@@ -297,8 +297,8 @@ void ext2fs_clear_generic_bmap(ext2fs_generic_bitmap bitmap)
 {
 	if (EXT2FS_IS_32_BITMAP(bitmap))
 		ext2fs_clear_generic_bitmap(bitmap);