search for: n519

Displaying 2 results from an estimated 2 matches for "n519".

Did you mean: 519
2017 Apr 17
0
Patch: Fix isohybrid.c tool under Windows platforms
...the default entry of the boot catalog would be crippled during fread() in http://git.zytor.com/syslinux/syslinux.git/tree/utils/isohybrid.c#n997 and then misinterpreted in function read_catalogue() when variable de_lba gets set: http://git.zytor.com/syslinux/syslinux.git/tree/utils/isohybrid.c#n519 de_lba is the value which gets written to byte 432 ff. in the isohybrid MBR. During boot the MBR would hopefully see a wrong signature and refuse with "isolinux.bin missing or corrupt.\r\n" rather than executing the bytes at the wrong address as program code (which would be quite scary...
2017 Apr 17
2
Patch: Fix isohybrid.c tool under Windows platforms
> Hi, > > Colin Finck wrote: > > 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. > > This is a very reasonable