mirror_edk2/BaseTools/Source/C/VfrCompile
Dandan Bi 8c1e13d327 BaseTools/VfrCompile: Fix segmentation fault issues
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=532

(1) Add NULL check before using a pointer.
(2) Use "%s" format string in DebugError function to
    avoid crash caused by incorrect input.

Cc: Bo Chen <chenbo@pdx.edu>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2017-08-04 14:32:42 +08:00
..
Pccts BaseTools/Pccts: Resolve GCC sting format mismatch build warning 2016-12-23 14:38:44 +08:00
EfiVfr.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
GNUmakefile BaseTools VfrCompile GNU makefile: Replace CXX with BUILD_CXX 2016-09-08 13:05:07 +08:00
Makefile Sync EDKII BaseTools to BaseTools project r2100. 2010-12-06 05:17:09 +00:00
VfrCompiler.cpp BaseTools/VfrCompile: Fix segmentation fault issues 2017-08-04 14:32:42 +08:00
VfrCompiler.h BaseTools/VfrCompile: Add checks for user/file inputs 2016-11-08 16:37:15 +08:00
VfrError.cpp BaseTools/VfrCompile: Avoid freeing memory with mismatched functions 2016-11-08 16:37:17 +08:00
VfrError.h BaseTools/VfrCompile: Avoid freeing freed memory in classes 2016-11-08 16:37:23 +08:00
VfrFormPkg.cpp BaseTools: fix write-strings build warnings 2016-12-20 11:13:23 +08:00
VfrFormPkg.h BaseTools/VfrCompile: Avoid freeing freed memory in classes 2016-11-08 16:37:23 +08:00
VfrSyntax.g BaseTools: Convert incomplete expression with dangling while() 2017-01-23 21:11:55 +08:00
VfrUtilityLib.cpp VfrCompile: fix invalid comparison between pointer and integer 2017-02-22 10:45:51 +08:00
VfrUtilityLib.h BaseTools/VfrCompile: Avoid freeing freed memory in classes 2016-11-08 16:37:23 +08:00