HomeFreeBSD

smbios: Add length sanity checking

Description

smbios: Add length sanity checking

D28743 was commited, reverted and then f689cb23b2782 landed before it
was recommitted. However, D28743 included an extra length check. Redo
that functionality so we check both the number of entries as well as the
length checks for wacky data.

Sponsored by: Netflix
Reviewed by: gallatin
Differential Revision: https://reviews.freebsd.org/D45763

Details

Provenance
impAuthored on Jul 25 2024, 5:02 AM
Reviewer
gallatin
Differential Revision
D45763: smbios: Add length sanity checking
Parents
rGce41bee0b4b8: ipmi_smbios: Only search for the BIOS signature on x86
Branches
Unknown
Tags
Unknown