HomeFreeBSD

makefs: correct El Torito bood record

Description

makefs: correct El Torito bood record

The boot catalog pointer is a DWord, but we previously populated it via
cd9660_bothendian_dword which overwrote four unused bytes following it.
See El Torito 1.0 (1995) Figure 7 for details.

PR: 203531, 203646
Reported by: Coverity Scan
Reported by: Thomas Schmitt <scdbackup@gmx.net>
Reviewed by: kevans
CID: 977470
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39231

(cherry picked from commit 9f2a525360473a778f91021e3be58fd4bfd72ee5)

Details

Provenance
emasteAuthored on Mar 23 2023, 5:02 PM
Reviewer
kevans
Differential Revision
D39231: makefs: correct El Torito bood record
Parents
rG62f8e141920c: makefs: correct iso9660 Rock Ridge NM values
Branches
Unknown
Tags
Unknown