opnsense-src/stand
Olivier Certner 330f1a4281
libsa: smbios: Stop parsing on an End-of-Table structure
This structure exists since SMBIOS v2.2 and indicates that there are no
structures to be parsed beyond this point.  For backwards compatibility,
the standard recommends that system software ensures that this structure
covers the rest of the SMBIOS structure table area as reported by the
Structure Table Address, and the Structure Table Maximum Size (64-bit
entry point) or the Structure Table Length (32-bit entry point), which
makes existing parsers continue to work correctly as they usually ignore
unknown structure types.  However, this is not a requirement, so be
bullet proof and immediately stop parsing in this case.

Reviewed by:    imp, markj
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D49285

(cherry picked from commit 7e61fc76400cce08de39adde99b879f0bca21b7d)
2025-04-08 15:38:27 +02:00
..
arm64 stand: Automated cleanup of cdefs and other formatting 2024-04-15 20:32:05 -06:00
common stand: Add support for 64-bit machines with 32-bit UEFI implementations 2025-03-25 19:28:38 -06:00
defaults loader.conf.5: Correct terminal size 2025-03-25 19:28:37 -06:00
efi loader: Fix 32-bit compatibility 2025-03-27 10:21:55 -07:00
fdt libsa: Remove redundant sys/cdefs.h 2024-04-16 13:54:26 -06:00
ficl stand: Remove dangling mips references 2024-04-16 13:54:28 -06:00
ficl32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fonts Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
forth loader/4th: Move from hint.acpi.0.rsdp to acpi.rsdp 2024-12-28 11:13:19 -07:00
i386 btx: Align the PXE prompt with other options 2024-11-30 21:46:03 -05:00
images stand: Fix logo alpha 2024-07-29 18:37:09 +02:00
kboot loader: Bump all versions to 3.0 2024-08-01 08:49:54 -06:00
kshim stand/kshim: Replace devclass_equal with calls to strcmp 2025-02-27 10:25:39 -05:00
liblua stand: Spell LUA_COMPILE_SET correctly. 2024-05-20 19:08:53 +02:00
liblua32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libofw libsa: Remove redundant sys/cdefs.h 2024-04-16 13:54:26 -06:00
libsa libsa: smbios: Stop parsing on an End-of-Table structure 2025-04-08 15:38:27 +02:00
libsa32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua stand: Fix brand positioning on framebuffer console 2025-03-03 05:29:47 +00:00
man Canonicalize the name of the FreeBSD Foundation 2025-02-19 09:58:47 -05:00
powerpc ports/filesystems: Fix fallout 2025-02-26 20:14:37 -05:00
uboot loader: Bump all versions to 3.0 2024-08-01 08:49:54 -06:00
usb stand/usb: Quiet warnings so this builds again 2025-02-27 10:25:10 -05:00
userboot loader: Bump all versions to 3.0 2024-08-01 08:49:54 -06:00
defs.mk stand/efi: Add a 32-bit variant of libefi 2025-03-25 19:28:38 -06:00
fdt.mk stand: Rename LIBFDT to LIBSAFDT 2023-11-16 10:18:58 -05:00
ficl.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
loader.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile stand/efi: Add a 32-bit variant of libefi 2025-03-25 19:28:38 -06:00
Makefile.amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
veriexec.mk libsecureboot do not report expected unverified files 2024-04-16 13:54:22 -06:00