]> git.dujemihanovic.xyz Git - u-boot.git/commit
smbios: buffer overflow when zeroing entry point
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 11 Jan 2024 06:34:08 +0000 (07:34 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2024 01:24:13 +0000 (20:24 -0500)
commitccefbf320d89f8ba857c57296e9502e060d7ab9c
tree877751d1049d1c911aa8ff30ff2e3ba893b1720b
parent85946d69d6f5a309564e7e89386cfcaff75d0b86
smbios: buffer overflow when zeroing entry point

A SMBIOS 3 entry point has a different length than an SMBIOS 2.1 entry
point.

Fixes: 70924294f375 ("smbios: Use SMBIOS 3.0 to support an address above 4GB")
Fixes: 1c5f6fa3883d ("smbios: Drop support for SMBIOS2 tables")
Addresses-Coverity-ID: 477212 ("Wrong sizeof argument")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/smbios.c