]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: acpiview: PPTT: Validate global pointers before use
authorKrzysztof Koch <krzysztof.koch@arm.com>
Mon, 20 Jan 2020 11:13:48 +0000 (19:13 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 11 Feb 2020 02:12:45 +0000 (02:12 +0000)
commit84a534b406a390dee3cf2661e44a8875b7b34532
tree6581a88e2263cf86cfaea825c2c4a6753a74f56f
parentc4a53853c10bee5be821cf0df2d1514d0cff7dc9
ShellPkg: acpiview: PPTT: Validate global pointers before use

Check if the NumberOfPrivateResources, ProcessorTopologyStructureType
and ProcessorTopologyStructureLength pointers have been successfully
updated before they are used for further table parsing.

Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c