HomeFreeBSD

smbios: Harden decoding of the BCD revision

Description

smbios: Harden decoding of the BCD revision

bcd2bin() must not be called with a value greater or equal to
LIBKERN_LEN_BCD2BIN.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 516e24e57987d184cce70e7f31443653aa1a5e63)

Details

Provenance
olceAuthored on Mar 3 2025, 2:25 PM
Parents
rG5d9f1bf830db: smbios: Carefully print wrong entry point signature on identify
Branches
Unknown
Tags
Unknown