summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2017-12-28 10:22:39 +0800
committerLiming Gao <liming.gao@intel.com>2017-12-28 11:12:35 +0800
commit941b3c4845146e7bc0203a9e78c4554e11c66863 (patch)
tree52da1e52b8d125099ed46dc643e552e997f9c7c1 /IntelFsp2WrapperPkg
parent6805854a736b0e0192fb4863da4db4295345c87b (diff)
downloadedk2-941b3c4845146e7bc0203a9e78c4554e11c66863.tar.gz
edk2-941b3c4845146e7bc0203a9e78c4554e11c66863.tar.bz2
edk2-941b3c4845146e7bc0203a9e78c4554e11c66863.zip
MdeModulePkg/DxePrintLibPrint2Protocol: Fix error in Precision position calculation
Due to a potential hole in the stop condition of loop, the two continuous access to ArgumentString (index, index+1) inside the loop might cause the string ending character ('\0') and the byte after it to be read. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'IntelFsp2WrapperPkg')
0 files changed, 0 insertions, 0 deletions