From 3056f17a926b95ca202da307914e5e0edba40523 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 10 Nov 2015 10:49:41 +0000 Subject: [PATCH] Corrected an error with recognition of APM partitions. Coverity CID 28728. --- xorriso/iso_img.c | 3 ++- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index 26d7b628..46b016ee 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -2047,9 +2047,10 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso, /* Check El Torito EFI boot images for same path */ for(et_idx= 0; isohybrid && et_idx < elto_count; et_idx++) if(strcmp(et_imgs[et_idx].path, textpt) == 0) { - if(apms[idx].ptype == 1) + if(apms[idx].ptype == 1) { et_imgs[et_idx].do_apm_hfsplus= 1; cared_for_apm= 1; + } break; } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 43d8d25a..c5c90e46 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.10.094015" +#define Xorriso_timestamP "2015.11.10.104918"