mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Code was assuming that the keys file would contain at least one valid key. This caused a Dynamic_array::at(0) call that lead to the crash.
		
			
				
	
	
		
			5 lines
		
	
	
		
			157 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			157 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
let SEARCH_PATTERN=System key id 1 is missing at;
 | 
						|
source filekeys_badtest.inc;
 | 
						|
 | 
						|
--echo # Test checks if opening an empty filekeys does not crash the server.
 |