Bug 7 - Refuse to load incompatible COM32 files
Summary: Refuse to load incompatible COM32 files
Status: CONFIRMED
Alias: None
Product: Syslinux
Classification: Unclassified
Component: syslinux (show other bugs)
Version: 6.02
Hardware: PC Linux
: --- enhancement
Assignee: H. Peter Anvin
URL:
Depends on:
Blocks:
 
Reported: 2013-07-18 12:55 PDT by Matt Fleming
Modified: 2015-10-11 17:42 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Fleming 2013-07-18 12:55:22 PDT
COM32 files are not guaranteed to work across different versions of Syslinux. Now that COM32 modules are really ELF shared objects, it would be useful if we could print a detailed error message explaining why it's not possible to load a given COM32 module, e.g.

"pwd.c32: incompatible version, 5.01 (i386)"

This would also come in handy if users attempt to load modules built for efi32 on an efi64 machine (and vice versa), given that the modules filename extension cannot be used to differentiate between them as ".c32" is always used.
Comment 1 Geert Stappers 2015-10-11 17:42:13 PDT
Cool idea