public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] IntelFsp2Pkg: Coverity scan flags issues
@ 2020-02-10  3:53 Chiu, Chasel
  2020-02-10  3:53 ` [PATCH 1/2] IntelFsp2Pkg/GenCfgOpt.py: " Chiu, Chasel
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Chiu, Chasel @ 2020-02-10  3:53 UTC (permalink / raw)
  To: devel; +Cc: Maurice Ma, Nate DeSimone, Star Zeng

GenCfgOpt.py:
Issue was: invalid_operation: Invalid operation on
null-like value "Base".
Fixed it by initializing Base to 0 before entering
while loop.

SplitFspBin.py:
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.

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>

Chasel Chiu (2):
  IntelFsp2Pkg/GenCfgOpt.py: Coverity scan flags issues.
  IntelFsp2Pkg/SplitFspBin.py: Coverity scan flags issues.

 IntelFsp2Pkg/Tools/GenCfgOpt.py   |  3 ++-
 IntelFsp2Pkg/Tools/SplitFspBin.py | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.13.3.windows.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-12  7:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10  3:53 [PATCH 0/2] IntelFsp2Pkg: Coverity scan flags issues Chiu, Chasel
2020-02-10  3:53 ` [PATCH 1/2] IntelFsp2Pkg/GenCfgOpt.py: " Chiu, Chasel
2020-02-10  8:36   ` [edk2-devel] " Philippe Mathieu-Daudé
2020-02-10 11:49     ` Chiu, Chasel
2020-02-10  3:53 ` [PATCH 2/2] IntelFsp2Pkg/SplitFspBin.py: " Chiu, Chasel
2020-02-10  6:52 ` [PATCH 0/2] IntelFsp2Pkg: " Zeng, Star
2020-02-12  7:30 ` Nate DeSimone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox