]> git.proxmox.com Git - mirror_edk2.git/commit
Add PubKey index check before touching PubKey cache. Internal PubKey Variable PubkeyI...
authorChao, Zhang <chao.b.zhang@intel.com>
Tue, 21 Oct 2014 00:35:49 +0000 (00:35 +0000)
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 21 Oct 2014 00:35:49 +0000 (00:35 +0000)
commit8c83d0c0b9bd102cd905c83b2644a543e9711815
tree5822b906b762890e3b4abbc488e150161e97f9d9
parentedb5073413d7b5e60cb69ffd3cb1ccb99decbf6a
Add PubKey index check before touching PubKey cache. Internal PubKey Variable PubkeyIndex is always 0, causing Index – 1 overflow. Update corresponding comments.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao, Zhang <chao.b.zhang@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16220 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c