Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							2a9afe80c3 
							
						 
					 
					
						
						
							
							BaseTools/VolInfo: Fix file handles not being closed  
						
						... 
						
						
						
						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:38:12 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							4d32be8888 
							
						 
					 
					
						
						
							
							BaseTools/TianoCompress: Fix file handles not being closed  
						
						... 
						
						
						
						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:38:10 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							1880d5e4d0 
							
						 
					 
					
						
						
							
							BaseTools/LzmaCompress: Fix file handles not being closed  
						
						... 
						
						
						
						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:38:07 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							181c955937 
							
						 
					 
					
						
						
							
							BaseTools/GenVtf: Fix file handles not being closed  
						
						... 
						
						
						
						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:38:05 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							320ba37a56 
							
						 
					 
					
						
						
							
							BaseTools/GenFv: Fix file handles not being closed  
						
						... 
						
						
						
						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:38:02 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							9639f7d378 
							
						 
					 
					
						
						
							
							BaseTools/GenCrc32: Fix file handles not being closed  
						
						... 
						
						
						
						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:59 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							197b8f261b 
							
						 
					 
					
						
						
							
							BaseTools/GenBootSector: Fix file handles not being closed  
						
						... 
						
						
						
						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:57 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							1e124de018 
							
						 
					 
					
						
						
							
							BaseTools/EfiRom: Fix file handles not being closed  
						
						... 
						
						
						
						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:54 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							8500665494 
							
						 
					 
					
						
						
							
							BaseTools/VolInfo: 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:52 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							bdf5f73120 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Fix potential memory leak  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:49 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							076947cfce 
							
						 
					 
					
						
						
							
							BaseTools/TianoCompress: 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:47 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							b14f278de4 
							
						 
					 
					
						
						
							
							BaseTools/Split: Fix potential memory and resource 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:44 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							399caf2d14 
							
						 
					 
					
						
						
							
							BaseTools/GenVtf: 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:41 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							77e4cf5f11 
							
						 
					 
					
						
						
							
							BaseTools/GenSec: 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:38 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							3f63e17551 
							
						 
					 
					
						
						
							
							BaseTools/GenPage: 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:36 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							6db9787110 
							
						 
					 
					
						
						
							
							BaseTools/GenFv: 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:33 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							fb4ea38c46 
							
						 
					 
					
						
						
							
							BaseTools/EfiRom: 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:30 +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 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							5e85fb52d0 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Remove unused local variables  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:25 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							77dee0b185 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Avoid freeing freed memory in classes  
						
						... 
						
						
						
						For classes that contain dynamically allocated data members, copy
constructor and assignment operator should be implemented or both
operations should be prohibited to avoid freeing freed memory caused by
shallow copy.
This commit declares both copy constructor and assignment operator as
'private' for classes that contain dynamically allocated data members.
This will prevent freeing already freed memory.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:23 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							0d46defefa 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Add assignment operator definition for some classes  
						
						... 
						
						
						
						For class that defines the copy constructor, it is better to add the
assignment operator definition as well.
This commit adds the definition for assignment operator for the classes
with the copy constructor defined.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:20 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							fd5425230e 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Avoid freeing memory with mismatched functions  
						
						... 
						
						
						
						Memory allocated by operator new[] should be freed using delete[] to avoid
possible memory leak.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:17 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							a6ac965bca 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Add checks for user/file inputs  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:15 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							6f30cefd79 
							
						 
					 
					
						
						
							
							BaseTools/GenFv: Add checks for user/file inputs  
						
						... 
						
						
						
						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:12 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							47affb48e9 
							
						 
					 
					
						
						
							
							BaseTools/EfiRom: Add checks for user/file inputs  
						
						... 
						
						
						
						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:09 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							bab5ad2fd1 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Add checks for array access  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:07 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							5acc8d3cdd 
							
						 
					 
					
						
						
							
							BaseTools/TianoCompress: Add checks for array access  
						
						... 
						
						
						
						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:04 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							b3520abde8 
							
						 
					 
					
						
						
							
							BaseTools/C/Common: Add checks for array access  
						
						... 
						
						
						
						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:01 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							f45b5a7605 
							
						 
					 
					
						
						
							
							BaseTools/GenVtf: Fix parameter format mismatch in scanf functions  
						
						... 
						
						
						
						According to MSDN https://msdn.microsoft.com/en-us/library/6ttkkkhh.aspx 
Format specification '%x' for scanf expects type 'int *', modify the type
of the relating variable to 'int' to keep them matched.
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:58 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							bd82cb4f21 
							
						 
					 
					
						
						
							
							BaseTools/GenFw: Fix parameter format mismatch in scanf functions  
						
						... 
						
						
						
						According to MSDN https://msdn.microsoft.com/en-us/library/6ttkkkhh.aspx 
Format specification '%X' for scanf expects type 'int *', modify the type
of the relating variable to 'int' to keep them matched.
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:56 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							488ace56a6 
							
						 
					 
					
						
						
							
							BaseTools/GenFv: Fix parameter format mismatch in scanf functions  
						
						... 
						
						
						
						According to MSDN https://msdn.microsoft.com/en-us/library/6ttkkkhh.aspx  &
https://msdn.microsoft.com/en-us/library/xdb9w69d.aspx 
Format specification '%llx' for scanf expects type 'long long *', modify
the type of the relating variable to 'long long' to keep them matched.
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:54 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							851c97ce78 
							
						 
					 
					
						
						
							
							BaseTools/C/Common: Fix parameter format mismatch in scanf functions  
						
						... 
						
						
						
						According to MSDN https://msdn.microsoft.com/en-us/library/6ttkkkhh.aspx 
Format specification '%x' for scanf expects type 'int *', modify the type
of the relating variable to 'int' to keep them matched.
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:51 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							ed9ff2688a 
							
						 
					 
					
						
						
							
							BaseTools/VolInfo: Fix parameter format mismatch in printf functions  
						
						... 
						
						
						
						Format specification '%ls' for printf expects type 'wchar_t *', cast the
type of the parameter to 'wchar_t *' to keep them matched.
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:48 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							f8708503cf 
							
						 
					 
					
						
						
							
							BaseTools/GenBootSector: Fix parameter format mismatch in printf functions  
						
						... 
						
						
						
						The return value of GetLastError() API is 32-bit unsigned integer, change
the relating format specification from '%x' to '%lx' to keep them matched.
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:45 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							61eb9834a3 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Initialize local variables before being used  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:43 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							10bcabc6be 
							
						 
					 
					
						
						
							
							BaseTools/TianoCompress: Initialize local variables before being used  
						
						... 
						
						
						
						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:40 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							9dd00cb66e 
							
						 
					 
					
						
						
							
							BaseTools/VolInfo: 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:38 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							9b78c54a09 
							
						 
					 
					
						
						
							
							BaseTools/VfrCompile: Avoid possible NULL pointer dereference  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@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:35 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							d1f6eb27fe 
							
						 
					 
					
						
						
							
							BaseTools/TianoCompress: 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:33 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							90114c101f 
							
						 
					 
					
						
						
							
							BaseTools/GenVtf: 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:30 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							248fce0329 
							
						 
					 
					
						
						
							
							BaseTools/GenSec: 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:27 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							18c2a7621d 
							
						 
					 
					
						
						
							
							BaseTools/GenPage: 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:24 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							06b4573598 
							
						 
					 
					
						
						
							
							BaseTools/GenFw: 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:21 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							2224702134 
							
						 
					 
					
						
						
							
							BaseTools/GenFv: 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:19 +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 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							02875ba228 
							
						 
					 
					
						
						
							
							BaseTools/EfiRom: 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:12 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							2ff3293d7b 
							
						 
					 
					
						
						
							
							BaseTools/C/Common: 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:09 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							c4ab09ef2f 
							
						 
					 
					
						
						
							
							BaseTools LzmaCompress: Update LZMA to new 16.04 version  
						
						... 
						
						
						
						New version LZMA SDK improves the compression performance on windows OS,
and has no change on the compression ratio. I compress 8M FVMAIN image,
the compression time is reduced from 2.590s to 1.419s.
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-03 10:21:15 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							c4260115f0 
							
						 
					 
					
						
						
							
							BaseTools VS Makefile: Use /MT in replace of /MD to remove specific dll  
						
						... 
						
						
						
						/MD option will introduce the specific version dll dependency. It will cause
the compiled C tools not work on some system.
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-10-21 16:40:49 +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