ISOLINUX: Fix checksum calculation in lzo/prepcore.c
commitac39cffd82d9f3ea4f243657c63db071ba8ef7b0
authorThomas Schmitt <scdbackup@gmx.net>
Thu, 25 Oct 2018 10:13:04 +0000 (25 06:13 -0400)
committerGene Cumm <gene.cumm@gmail.com>
Thu, 25 Oct 2018 10:18:07 +0000 (25 06:18 -0400)
treea04c478746201a1f0e8f0c98f6e514559767cf5f
parent2ea44cbedb297bd6b409d5c1e0402d5f89592be4
ISOLINUX: Fix checksum calculation in lzo/prepcore.c

The prescription for Boot Info Table says that checksumming begins
at byte 64 of isolinux.bin. When prepcore writes isolinux.bin it begins
copying bytes from the input file at the offset given by variable "start".
But it begins checksumming at offset 64 of the input file.
The problem exists since introduction of prepcore by release 4.00.
ISO 9660 programs usually fix it when they write the Boot Info Table.

Signed-off-by: Thomas Schmitt <scdbackup@gmx.net>
lzo/prepcore.c