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

Check if the MadtInterruptControllerType and
MadtInterruptControllerLength 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/Madt/MadtParser.c