HomeFreeBSD

stand: More protection against malformed smbios tables

Description

stand: More protection against malformed smbios tables

Add some more sanity checks to make sure we don't march off the end of
the table. Typically, smbios structures are well formed, or Windows
wouldn't boot. Sometimes they aren't, and this at least fails safe.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D39794

Details

Provenance
impAuthored on May 1 2023, 9:12 PM
Differential Revision
D39794: stand: More protection against malformed smbios tables
Parents
rGc5e433b99ed3: stand: Avoid unaligned access in smbios code
Branches
Unknown
Tags
Unknown