Adapted recognizing of partition offset to the changes of rev afb10aa / 1348

This commit is contained in:
Thomas Schmitt 2017-04-09 20:58:45 +02:00
parent 86f6ffc9c9
commit 94e4bfb42b

View File

@ -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);