]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/ReportStatusCodeRouter: Take HeaderSize into Consideration
authorMichael Kubacki <michael.kubacki@microsoft.com>
Wed, 8 Apr 2020 21:45:28 +0000 (05:45 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 21 Apr 2020 02:20:51 +0000 (02:20 +0000)
commit05db94018bdd7c904efb6463884bd1ab30d5ccb7
tree8d2e418290a5d9115f8c955e47ac4d63945660a3
parent1a258c7703e587f85885099dd57236cb45af82f8
MdeModulePkg/ReportStatusCodeRouter: Take HeaderSize into Consideration

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2669

Updates ReportDispatcher() to take the size in the HeaderSize field in
a EFI_STATUS_CODE_DATA element into account when walking the data buffer.
This size will cause the header size to differ from the compiled sizeof
header.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Kun Qin <Kun.Qin@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.c