Skip to contentSkip to conversation

e2image: fix crash when using e2image -I with a 64-bit file system

PATCH New Theodore Ts'o 1 participant 1 message Jun 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2image: fix crash when using e2image -I with a 64-bit file system

Addresses-Debian-Bug: #703067

---
 misc/e2image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
misc/e2image.c +1 -1
index 369c946..885a794 100644
@@ -1171,7 +1171,7 @@ static void install_image(char *device, char *image_fn, int type)
 {
 	errcode_t retval;
 	ext2_filsys fs;
-	int open_flag = EXT2_FLAG_IMAGE_FILE;
+	int open_flag = EXT2_FLAG_IMAGE_FILE | EXT2_FLAG_64BITS;
 	int fd = 0;
 	io_manager	io_ptr;
 	io_channel	io;
Signature · 1 line
1.7.12.rc0.22.gcdd159b