Avoiding a SIGSEGV if no El Torito is involved. Introduced by rev 1014.
This commit is contained in:
parent
2a08471c04
commit
bbd198a81b
@ -1126,6 +1126,9 @@ int iso_patch_eltoritos(Ecma119Image *t)
|
||||
IsoStream *new = NULL;
|
||||
IsoStream *original = NULL;
|
||||
|
||||
if (t->catalog == NULL)
|
||||
return ISO_SUCCESS;
|
||||
|
||||
for (idx = 0; idx < t->catalog->num_bootimages; idx++) {
|
||||
if (!(t->catalog->bootimages[idx]->isolinux_options & 0x01))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user