mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
In case EntryPointStructure does not exist yet use a length of zero instead of skipping the check altogether. Fixes a heap overflow in the following code flow in case the first smbios table installed is larger than SMBIOS_TABLE_MAX_LENGTH. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> |
||
|---|---|---|
| .. | ||
| SmbiosDxe.c | ||
| SmbiosDxe.h | ||
| SmbiosDxe.inf | ||
| SmbiosDxe.uni | ||
| SmbiosDxeExtra.uni | ||