]> git.proxmox.com Git - mirror_edk2.git/commit
Fix an issue in the PCD service to prevent potential out of bound array access
authorSamer El-Haj-Mahmoud <elhaj@hp.com>
Wed, 26 Nov 2014 07:17:31 +0000 (07:17 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 26 Nov 2014 07:17:31 +0000 (07:17 +0000)
commit8cc87d32c65316a98a737bb887ba316b81f8bbf1
tree10145c54514733fd48b48e4ba0e8179f28845cdb
parent42645c3dcf0488c616422dcdfd1596939223f432
Fix an issue in the PCD service to prevent potential out of bound array access

that can cause an exception. mPeiExMapppingTableSize is the table size, but the
code needs to check the entry number.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hp.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16448 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/PCD/Dxe/Service.c