Add array index check to avoid potential buffer overflow.
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 4 Mar 2010 06:38:22 +0000 (06:38 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 4 Mar 2010 06:38:22 +0000 (06:38 +0000)
commit829a87d6933654e3ff9ccba683981323e140a292
tree4df72d22bdaf7a264311ef4af911e623a4b6e9ff
parent56034f8014f12f8dd3853a6960064794c22497b2
Add array index check to avoid potential buffer overflow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk@10179 6f19259b-4bc3-4df7-8a09-765794883524
edk2/UefiCpuPkg/CpuDxe/CpuDxe.c
edk2/UefiCpuPkg/Library/MtrrLib/MtrrLib.c