]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr
SecurityPkg: Fix potential bug in Security Boot dxe.
authorZhang Lubo <lubo.zhang@intel.com>
Wed, 22 Feb 2017 09:01:12 +0000 (17:01 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 1 Mar 2017 07:40:50 +0000 (15:40 +0800)
commite9429e7997b8e668126d71b8030cc3a96c36a652
treef9ee8cd04d847933872180706c930254a988a3bf
parent5d2245bdcd405004c0fdf16e52b693cb56f9c927
SecurityPkg: Fix potential bug in Security Boot dxe.

v2: update hash value in SecureBootConfig.vfr to keep
them consistent with macro definition in SecureBootConfigImpl.h

since we removed the sha-1 definition in Hash table
and related macro, but the macro definition HashAlg index
may be value 4 which is exceed the range of the Hash
table array.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Long Qin <qin.long@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.h