mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	handling. The problem was that parsing of nested regular expression involved recursive calls. Such recursion didn't take into account the amount of available stack space, which ended up leading to stack overflow crashes.
		
			
				
	
	
		
			11 lines
		
	
	
		
			213 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			213 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
select 1;
 | 
						|
1
 | 
						|
1
 | 
						|
SHOW VARIABLES like 'slave_skip_errors';
 | 
						|
Variable_name	Value
 | 
						|
slave_skip_errors	OFF
 | 
						|
#
 | 
						|
# Bug#58026: massive recursion and crash in regular expression handling
 | 
						|
#
 | 
						|
SELECT '1' RLIKE RPAD('1', 10000, '(');
 |