[syslinux] Patch: Fix isohybrid.c tool under Windows platforms

Gene Cumm gene.cumm at gmail.com
Sun May 14 08:20:46 PDT 2017

On Mon, Apr 10, 2017 at 6:21 AM, Colin Finck via Syslinux
<syslinux at zytor.com> wrote:
> Hi all,
> As part of a bigger effort to port the ISOLINUX hybrid mode to ReactOS,
> I've encountered a bug in isohybrid under Windows platforms. Attached
> comes a patch to fix it.
> Precisely, if isohybrid currently finds a 0x0A (LF) byte in the MBR code
> (which exists in the strings), it adds a 0x0D (CR) before, thereby
> shifting the MBR bytes to the right and making it invalid.
> This can be fixed by opening the file in binary mode with the "b" flag.

Thanks for catching this.  It has been committed.


More information about the Syslinux mailing list