]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
SecurityPkg: Tcg2Dxe: Fix undersized TempBuf
authorZhang, Chao B <chao.b.zhang@intel.com>
Thu, 31 Mar 2016 01:40:28 +0000 (09:40 +0800)
committerZhang, Chao B <chao.b.zhang@intel.com>
Thu, 31 Mar 2016 01:41:03 +0000 (09:41 +0800)
commit9381e149ad72d3f3e942b7734ebff70533dc7699
tree526ecd8e8d79abe20f2995ebcc2683eecc8e7c85
parent065e587c179d17eabe38ef743cf3fd95a5a492a0
SecurityPkg: Tcg2Dxe: Fix undersized TempBuf

TempBuf in SetupEventLog needs to include sizeof(UINT32) to hold NumberOfAlgorithms.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com>
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c