mirror of
				https://gitlab.gnome.org/GNOME/libxml2.git
				synced 2025-10-24 13:33:01 +03:00 
			
		
		
		
	Fix memory leak in xmlParseBalancedChunkMemoryRecover
When doc is NULL, namespace created in xmlTreeEnsureXMLDecl is bind to newDoc->oldNs, in this case, set newDoc->oldNs to NULL and free newDoc will cause a memory leak. Found with libFuzzer. Closes #82.
This commit is contained in:
		
				
					committed by
					
						 Nick Wellnhofer
						Nick Wellnhofer
					
				
			
			
				
	
			
			
			
						parent
						
							09b6f8183d
						
					
				
				
					commit
					5a02583c7e
				
			
		Reference in New Issue
	
	Block a user