audk/BaseTools/Source/C/Common
Ard Biesheuvel 2cec9ccde7 BaseTools/Common: fix heap overrun in ReadMemoryFileLine ()
ReadMemoryFileLine () appends a NULL character to the string
it returns, but it failed to account for it in the allocation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18047 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-26 08:03:15 +00:00
..
BasePeCoff.c BaseTools/PeCoffLib: handle EFI_IMAGE_REL_BASED_DIR64 in generic code 2015-07-14 08:15:28 +00:00
BinderFuncs.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
BinderFuncs.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
CommonLib.c BaseTools: Convert ".\\" to "" in FilePath 2015-06-23 10:48:04 +00:00
CommonLib.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Compress.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Crc32.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Crc32.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Decompress.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Decompress.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
EfiCompress.c BaseTools: Checked return value of malloc for EfiCompress. 2015-07-01 05:16:46 +00:00
EfiUtilityMsgs.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
EfiUtilityMsgs.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
FirmwareVolumeBuffer.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
FirmwareVolumeBufferLib.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
FvLib.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
FvLib.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
MemoryFile.c BaseTools/Common: fix heap overrun in ReadMemoryFileLine () 2015-07-26 08:03:15 +00:00
MemoryFile.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MyAlloc.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MyAlloc.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
OsPath.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
OsPath.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
ParseGuidedSectionTools.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
ParseGuidedSectionTools.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
ParseInf.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
ParseInf.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
PeCoffLib.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
PeCoffLoaderEx.c BaseTools/PeCoffLib: handle EFI_IMAGE_REL_BASED_DIR64 in generic code 2015-07-14 08:15:28 +00:00
SimpleFileParsing.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
SimpleFileParsing.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
StringFuncs.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
StringFuncs.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
TianoCompress.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
WinNtInclude.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00