Corrected an error with recognition of APM partitions. Coverity CID 28728.

This commit is contained in:
Thomas Schmitt 2015-11-10 10:49:41 +00:00
parent 0bed64c982
commit dac02cc0ba
2 changed files with 3 additions and 2 deletions

View File

@ -2047,9 +2047,10 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
/* Check El Torito EFI boot images for same path */ /* Check El Torito EFI boot images for same path */
for(et_idx= 0; isohybrid && et_idx < elto_count; et_idx++) for(et_idx= 0; isohybrid && et_idx < elto_count; et_idx++)
if(strcmp(et_imgs[et_idx].path, textpt) == 0) { 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; et_imgs[et_idx].do_apm_hfsplus= 1;
cared_for_apm= 1; cared_for_apm= 1;
}
break; break;
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.10.094015" #define Xorriso_timestamP "2015.11.10.104918"