mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	 243dee7415
			
		
	
	
	243dee7415
	
	
	
		
			
			When getaddrinfo returns and error, the contents of ai are invalid so we cannot continue based on their data structures. In the previous branch of the if statement, we abort there if there is an error so for consistency we abort here too. The test case fixes the port number to UINTMAX32 for both an enumberated bind-address and the default bind-address covering the two calls to getaddrinfo. Review thanks Sanja.
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #
 | |
| # MDEV-34437 SIGSEGV in vio_get_normalized_ip when using extra-port
 | |
| #
 | |
| FOUND 1 /\[ERROR\] Can't create IP socket: Servname not supported/ in errorlog.err
 | |
| FOUND 1 /\[ERROR\] Can't create IP socket: Servname not supported/ in errorlog.err
 | |
| # restart
 | |
| # End of 10.11 tests
 |