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

Check if SlitSystemLocalityCount pointer has been successfully updated
before it is used for further table parsing.

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