| 
							
							
								 Liming Gao | 60a5378208 | BaseTools CommonLib: Update ReadMemoryFileLine() to read line in file scope https://bugzilla.tianocore.org/show_bug.cgi?id=255
Check CurrentFilePointer to make sure it not exceed the end of file.
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> | 2016-11-30 08:40:11 +08:00 |  | 
			
				
					| 
							
							
								 Hao Wu | aee346514d | BaseTools/C/Common: Fix potential memory leak Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com> | 2016-11-08 16:37:28 +08:00 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 Yingke Liu | 97fa0ee9b1 | License header updated to match correct format. Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15971 6f19259b-4bc3-4df7-8a09-765794883524 | 2014-08-28 13:53:34 +00:00 |  | 
			
				
					| 
							
							
								 lgao4 | 40d841f6a8 | Sync EDKII BaseTools to BaseTools project r1971 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524 | 2010-05-18 05:04:32 +00:00 |  | 
			
				
					| 
							
							
								 lgao4 | 30fdf1140b | Check In tool source code based on Build tool project revision r1655. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524 | 2009-07-17 09:10:31 +00:00 |  |