summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2026-05-07 09:35:00 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-08-01 07:35:21 +0300
commit3f97b8bc7fd8eb8ab3af439bf521a7a73c0542b4 (patch)
tree26c6e45500954dfe4b42c4a1b86d0cf3aaa82bfa /BaseTools/Source/Python/Workspace/BuildClassObject.py
parentbc71cc972d5ea3cb38d4c454a68b02138b23c774 (diff)
downloadedk2-3f97b8bc7fd8eb8ab3af439bf521a7a73c0542b4.tar.xz
MdeModulePkg/SmbiosDxe: fix table length check
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions