summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2019-10-15 13:51:55 +0800
committerLiming Gao <liming.gao@intel.com>2019-11-04 08:56:06 +0800
commitd3eac77eebe995553e5d0ab5fbab54e5d5d9c95f (patch)
tree5942e9c3717a8aeae1ef1ee867b697cc4bc19141 /BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py
parentdf50c2fcd85e24cbece9f03f2879fdcc96096ab1 (diff)
downloadedk2-d3eac77eebe995553e5d0ab5fbab54e5d5d9c95f.tar.gz
edk2-d3eac77eebe995553e5d0ab5fbab54e5d5d9c95f.tar.bz2
edk2-d3eac77eebe995553e5d0ab5fbab54e5d5d9c95f.zip
MdeModulePkg/SdBlockIoPei: Add check for DeviceIndex
DeviceIndex is used as index in Slot[]. The max size of Slot[] is SD_PEIM_MAX_SLOTS. So DeviceIndex should be checked before used. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py')
0 files changed, 0 insertions, 0 deletions