mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
length for the 64-bit entry is 32-bits, not 16-bits.
Reported by: Jérôme Duval (korli on github)
This commit is contained in:
parent
2fee875629
commit
13597be965
|
@ -486,7 +486,7 @@ smbios_probe(const caddr_t addr)
|
|||
|
||||
#ifdef HAS_SMBV3
|
||||
if (isv3) {
|
||||
smbios.length = SMBIOS_GET16(saddr, 0x0c); /* Structure Table Length */
|
||||
smbios.length = SMBIOS_GET32(saddr, 0x0c); /* Structure Table Length */
|
||||
paddr = SMBIOS_GET64(saddr, 0x10); /* Structure Table Address */
|
||||
smbios.count = -1; /* not present in V3 */
|
||||
smbios.ver = 0; /* not present in V3 */
|
||||
|
|
Loading…
Reference in a new issue