From 94e4bfb42b8eb9ef6c5d6d9dac26c574ee640c5d Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 9 Apr 2017 20:58:45 +0200 Subject: [PATCH] Adapted recognizing of partition offset to the changes of rev afb10aa / 1348 --- libisofs/fs_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/fs_image.c b/libisofs/fs_image.c index 881af57..22e9886 100644 --- a/libisofs/fs_image.c +++ b/libisofs/fs_image.c @@ -4039,7 +4039,7 @@ int iso_analyze_mbr(IsoImage *image, IsoDataSource *src, int flag) part->start_block >= 64 && part->block_count >= 72 && part->start_block <= 2048 && part->start_block % 4 == 0 && part->block_count % 4 == 0 && - (part->start_block + part->block_count) / 4 == sai->image_size) { + (part->start_block + part->block_count) / 4 <= sai->image_size) { ret = iso_analyze_partition_offset(image, src, part->start_block, part->block_count, 0);