From d7737e3ed535970de960b7b8e1f65ba62c24ec5a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 3 Jun 2017 20:23:54 +0200 Subject: [PATCH] Removed ban on reading El Torito platform ids other than 0 and 0xef --- libisofs/fs_image.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libisofs/fs_image.c b/libisofs/fs_image.c index 22e9886..7c18c22 100644 --- a/libisofs/fs_image.c +++ b/libisofs/fs_image.c @@ -2641,14 +2641,6 @@ int read_el_torito_boot_catalog(_ImageFsData *data, uint32_t block) {ret = ISO_WRONG_EL_TORITO; goto ex;} } - /* check for a valid platform */ - if (ve->platform_id[0] != 0 && ve->platform_id[0] != 0xef) { - iso_msg_submit(data->msgid, ISO_UNSUPPORTED_EL_TORITO, 0, - "Unsupported El-Torito platform. Only 80x86 and EFI are " - "supported. El-Torito info will be ignored."); - {ret = ISO_UNSUPPORTED_EL_TORITO; goto ex;} - } - /* ok, once we are here we assume it is a valid catalog */ /* parse the default entry */