Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							b390737ad0 
							
						 
					 
					
						
						
							
							BaseTools/GenFfs: Fix return too early when input file is of size 0  
						
						... 
						
						
						
						Commit 2cb874352423fcfd180199e6de8298567dff8e7f eliminates possible NULL
pointer dereference in GenFfs tool source codes. However, it doesn't
correctly handle the case when the input file is of size 0. This will lead
to possible build issues.
This commits refine the logic to handle the above case.
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-10 16:28:33 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							2cb8743524 
							
						 
					 
					
						
						
							
							BaseTools/GenFfs: Avoid possible NULL pointer dereference  
						
						... 
						
						
						
						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:36:14 +08:00 
						 
				 
			
				
					
						
							
							
								Gary Lin 
							
						 
					 
					
						
						
						
						
							
						
						
							99e55970ff 
							
						 
					 
					
						
						
							
							BaseTools: Fix typos in comments and variables  
						
						... 
						
						
						
						- Pacakge -> Package
- outputed -> outputted
- successull -> successfully
- Libary -> Library
- Pointion -> Position
- paramter -> parameter
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> 
						
						
					 
					
						2016-10-20 11:18:27 +08:00 
						 
				 
			
				
					
						
							
							
								Ard Biesheuvel 
							
						 
					 
					
						
						
						
						
							
						
						
							46d0f3f871 
							
						 
					 
					
						
						
							
							BaseTools: use GUID identifiable section for FFS alignment padding  
						
						... 
						
						
						
						Instead of using an anonymous section of type EFI_SECTION_RAW to pad
out the first aligned FFS section to its required alignment, use a
section with a dedicated GUID if the size of the padding permits it.
This allows for more flexibility when placing such FFS images in a
firmware volume, because we will now be able to remove padding rather
than add more, by shrinking the size of this section instead of
padding out the start of the FFS image to file alignment.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18079  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-07-27 13:50:19 +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 
						 
				 
			
				
					
						
							
							
								Hess Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							1be2ed90a2 
							
						 
					 
					
						
						
							
							There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-15 03:06:48 +00:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							e8a47801a1 
							
						 
					 
					
						
						
							
							Sync BaseTool trunk (version r2610) into EDKII BaseTools.  
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14856  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-11-18 07:41:21 +00:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							4afd3d0422 
							
						 
					 
					
						
						
							
							Sync BaseTool trunk (version r2599) into EDKII BaseTools.  
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Heshen Chen <chen.heshen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-08-23 02:18:16 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
						
						
							
						
						
							b36d134faf 
							
						 
					 
					
						
						
							
							Sync BaseTools Branch (version r2321) to EDKII main trunk.  
						
						... 
						
						
						
						Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12372  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-09-18 12:17:25 +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 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
						
						
							
						
						
							c69f724df0 
							
						 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1913.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10193  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-03-04 11:57:31 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
						
						
							
						
						
							52302d4dee 
							
						 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1903.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10123  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-02-28 23:39:39 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
						
						
							
						
						
							b303ea726e 
							
						 
					 
					
						
						
							
							Sync tool code to BuildTools project r1739.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9397  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-11-09 11:47:35 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
						
						
							
						
						
							fd171542e0 
							
						 
					 
					
						
						
							
							Sync basetools' source and binary files with r1707 of the basetools project.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-09-11 03:14:43 +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