Page MenuHomeFreeBSD

makefs: correct El Torito bood record
ClosedPublic

Authored by emaste on Mar 23 2023, 5:08 PM.
Tags
None
Referenced Files
F170081971: D39231.id.diff
Thu, Sep 3, 11:17 AM
F170063469: D39231.diff
Thu, Sep 3, 10:03 AM
F170047808: D39231.id119347.diff
Thu, Sep 3, 8:54 AM
Unknown Object (File)
Wed, Sep 2, 5:27 AM
Unknown Object (File)
Tue, Sep 1, 10:00 AM
Unknown Object (File)
Tue, Sep 1, 9:57 AM
Unknown Object (File)
Tue, Sep 1, 9:15 AM
Unknown Object (File)
Tue, Sep 1, 8:02 AM
Subscribers

Details

Summary

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
Reported by: Coverity Scan
Reported by: Thomas Schmitt <scdbackup@gmx.net>
CID: 977470
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

A link to the El Torito doc is available from https://wiki.osdev.org/El-Torito

This matches my reading of the spec; single LE DWORD.

This revision is now accepted and ready to land.Mar 23 2023, 9:33 PM
This revision was automatically updated to reflect the committed changes.