search for: n997

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

Did you mean: 1997
2017 Apr 17
0
Patch: Fix isohybrid.c tool under Windows platforms
...ppen to be followed by a New Line character (value 10 = 0x0a). So for example the block address bytes 0d 0a 00 00 (= 2573 decimal) of the BIOS boot image in 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 r...
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