Check the input file pointer before use it.
authorEric Dong <eric.dong@intel.com>
Fri, 28 Mar 2014 05:51:51 +0000 (05:51 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Mar 2014 05:51:51 +0000 (05:51 +0000)
commit7a1f792dcf291d6e4c38d595e92de5c30d8ff9aa
tree345f5a289d45086bb047e3692a1f6f8f26392e20
parentc4571f04794154d405a69b79babfd74bcf9fc63a
Check the input file pointer before use it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Guo, Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15412 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c