audk/BaseTools/Source/C
Dandan Bi 631ffb70eb BaseTools/VfrCompile: Add check to avoid using NULL pointer
Question value are stored in one specified storage, but the Data type
of the storage is not specified or there is no sub fields in the Data
type sometimes, so we need to add check before using related pointers.
Here list some NULL cases:
(1)For an efivastore which doesn't specify a data structure or a
   data type(UINT8,UINT16...)as the storage, just has VarName and
   VarSize instead, we can not get its data type before parsing
   its VarSize.

(2)For efivastore which just specifies the data type(UINT8,UINT16...)
   not a structure as the storage,this data type doesn't have sub-fields.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-11-03 12:39:45 +08:00
..
BootSectImage BaseTools: Change source files to DOS format. 2016-03-10 17:37:51 +08:00
BrotliCompress BaseTools: Add --version option in Brotli and BrotliCompress 2017-05-05 11:15:24 +08:00
Common BaseTools: Fix Xcode 9 Beta treating 32-bit left shift as undefined 2017-08-11 08:39:41 +08:00
EfiLdrImage BaseTools/EfiLdrImage: Fix a segmentation fault from vfprintf() 2017-08-01 10:52:23 +08:00
EfiRom BaseTools/EfiRom: Add multiple device id support 2017-08-26 07:19:03 +08:00
GenBootSector BaseTools/GenBootSector: Fix file handles not being closed 2016-11-08 16:37:57 +08:00
GenCrc32 BaseTools/GenCrc32: Fix a bug to hand empty file for decode 2017-08-01 10:52:44 +08:00
GenFfs BaseTools: extend FFS alignment to 16M 2017-09-25 11:18:22 +08:00
GenFv BaseTools: PI 1.6 to support FV extended header contain FV used size 2017-10-03 08:18:15 +08:00
GenFw BaseTools: Roll back GenFw Change to keep unknown field in RSDS debug entry 2017-08-24 11:21:27 +08:00
GenPage BaseTools/GenPage: Fix potential memory leak 2016-11-08 16:37:36 +08:00
GenSec BaseTools: extend FFS alignment to 16M 2017-09-25 11:18:22 +08:00
GenVtf BaseTools/GenVtf: Fix VS2010/VS2012 build failure 2017-03-07 08:43:33 +08:00
GnuGenBootSector License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Include BaseTools: PI 1.6 to support FV extended header contain FV used size 2017-10-03 08:18:15 +08:00
LzmaCompress BaseTools/LzmaCompress: Fix file handles not being closed 2016-11-08 16:38:07 +08:00
Makefiles BaseTools/Source/C/Makefiles: Fix NmakeSubdirs.bat always return 0 2017-03-02 16:43:42 +08:00
PyEfiCompressor License header updated to match correct format. 2014-08-28 13:53:34 +00:00
PyUtility License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Split BaseTools/Split: Fix the segmentation fault in GetSplitValue() 2017-08-01 10:50:07 +08:00
TianoCompress BaseTools: Fix Xcode 9 Beta treating 32-bit left shift as undefined 2017-08-11 08:39:41 +08:00
VfrCompile BaseTools/VfrCompile: Add check to avoid using NULL pointer 2017-11-03 12:39:45 +08:00
VolInfo BaseTools/VolInfo: Update OPENSSL_PATH to support space characters 2017-04-27 21:18:33 +08:00
GNUmakefile BaseTools: Add Brotli algorithm tool 2017-03-29 12:14:43 +08:00
Makefile BaseTools: Add Brotli algorithm tool 2017-03-29 12:14:43 +08:00