audk/BaseTools/Source/C/Common
Hao Wu 3e1497334e BaseTools/C/Common: Refine using sprintf() with '%s' in format string
The commit removes the usages of sprintf() function calls with '%s' in
the format string. And uses strncpy/strncat instead to ensure the
destination string buffers will not be accessed beyond their boundary.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-12-25 09:54:18 +08:00
..
BasePeCoff.c BaseTools/C/Common: Remove redundant type cast 2017-12-25 09:53:50 +08:00
BinderFuncs.c
BinderFuncs.h
CommonLib.c BaseTools/C/Common: Add/refine boundary checks for strcpy/strcat calls 2017-12-25 09:54:10 +08:00
CommonLib.h
Compress.h
Crc32.c
Crc32.h
Decompress.c BaseTools/C/Common: Add checks for array access 2017-12-25 09:53:29 +08:00
Decompress.h BaseTools: Fix typos in comments and variables 2016-10-20 11:18:27 +08:00
EfiCompress.c
EfiUtilityMsgs.c BaseTools/C/Common: Refine using sprintf() with '%s' in format string 2017-12-25 09:54:18 +08:00
EfiUtilityMsgs.h
FirmwareVolumeBuffer.c BaseTools/C/Common: Fix potential memory leak 2016-11-08 16:37:28 +08:00
FirmwareVolumeBufferLib.h
FvLib.c BaseTools: Eliminate two shift-negative-value in FvLib.c 2016-05-18 09:50:44 +08:00
FvLib.h
GNUmakefile BaseTools: Replace ARCH with HOST_ARCH in C Makefile to avoid conflict 2017-11-30 13:06:44 +08:00
Makefile
MemoryFile.c BaseTools CommonLib: Update ReadMemoryFileLine() to read line in file scope 2016-11-30 08:40:11 +08:00
MemoryFile.h
MyAlloc.c BaseTools/C/Common: Avoid possible NULL pointer dereference 2016-11-08 16:36:09 +08:00
MyAlloc.h
OsPath.c
OsPath.h
ParseGuidedSectionTools.c BaseTools/C/Common: Fix potential memory leak 2016-11-08 16:37:28 +08:00
ParseGuidedSectionTools.h
ParseInf.c BaseTools/C/Common: Fix parameter format mismatch in scanf functions 2016-11-08 16:36:51 +08:00
ParseInf.h
PeCoffLib.h
PeCoffLoaderEx.c BaseTools/PeCoffLoader: fix handling of ARM MOVW/MOVT instruction relocs 2015-10-09 18:55:28 +00:00
SimpleFileParsing.c BaseTools/C/Common: Add checks for array access 2017-12-25 09:53:29 +08:00
SimpleFileParsing.h
StringFuncs.c
StringFuncs.h
TianoCompress.c BaseTools/C/Common: Avoid possible NULL pointer dereference 2016-11-08 16:36:09 +08:00
WinNtInclude.h