summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/Include
diff options
context:
space:
mode:
authorChasel Chiu <chasel.chiu@intel.com>2020-02-07 16:54:18 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-13 09:21:22 +0000
commit3e63a91b173ca67b533b0aeb4d808c76c1890d14 (patch)
tree504373d0a43c3e145c4c9bc3b9f92e417414780c /EmulatorPkg/Include
parent7a38ad07d0b15c9380d1671074aef20e096f3106 (diff)
downloadedk2-3e63a91b173ca67b533b0aeb4d808c76c1890d14.tar.gz
edk2-3e63a91b173ca67b533b0aeb4d808c76c1890d14.tar.bz2
edk2-3e63a91b173ca67b533b0aeb4d808c76c1890d14.zip
IntelFsp2Pkg/SplitFspBin.py: Coverity scan flags issues.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1706 Issues were: 1. copy_paste_error: PeOptHdr vs PePlusOptHdr. 2. invalid_operation: Invalid operation on null-like value "roffset". 3. invalid_operation: Invalid operation on null-like value "rsize". Fixed them by initializing roffset and rsize as PE32 image type and overriding them when PE32+ header found. Test: Compared script output before and after this patch and the result is identical. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'EmulatorPkg/Include')
0 files changed, 0 insertions, 0 deletions