Exempted MBR partitions of type 0xEE from being ignored due to wrong size
This commit is contained in:
parent
3e61a61a21
commit
da8e3e66e7
@ -3854,10 +3854,15 @@ int iso_analyze_mbr_ptable(IsoImage *image, IsoDataSource *src, int flag)
|
|||||||
ignore_part = 1;
|
ignore_part = 1;
|
||||||
}
|
}
|
||||||
if (ignore_part) {
|
if (ignore_part) {
|
||||||
|
if (ptype == 0xee) {
|
||||||
|
iso_msg_submit(image->id, ISO_GENERAL_NOTE, 0,
|
||||||
|
"Found Protective MBR with size range larger than the medium capacity");
|
||||||
|
} else {
|
||||||
iso_msg_submit(image->id, ISO_GENERAL_NOTE, 0,
|
iso_msg_submit(image->id, ISO_GENERAL_NOTE, 0,
|
||||||
"Ignored non-empty MBR partition outside of medium capacity");
|
"Ignored non-empty MBR partition outside of medium capacity");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (sph > 0) {
|
if (sph > 0) {
|
||||||
if (end_s != sph)
|
if (end_s != sph)
|
||||||
sph = 0xffffffff;
|
sph = 0xffffffff;
|
||||||
@ -5063,6 +5068,11 @@ int iso_impsysa_report(IsoImage *image, struct iso_impsysa_result *target,
|
|||||||
strcpy(msg, "System area summary:");
|
strcpy(msg, "System area summary:");
|
||||||
if (sa_type == 0) {
|
if (sa_type == 0) {
|
||||||
if ((sao & 3) || sa_sub == 1 || sa_sub == 2) {
|
if ((sao & 3) || sa_sub == 1 || sa_sub == 2) {
|
||||||
|
|
||||||
|
/* >>> ??? Should isohybrid and protective-msdos-label be
|
||||||
|
combinable ?
|
||||||
|
*/
|
||||||
|
|
||||||
strcat(msg, " MBR");
|
strcat(msg, " MBR");
|
||||||
if (sao & 2)
|
if (sao & 2)
|
||||||
strcat(msg, " isohybrid");
|
strcat(msg, " isohybrid");
|
||||||
|
Loading…
Reference in New Issue
Block a user