mirror of
				https://github.com/jhasse/poly2tri.git
				synced 2025-11-04 14:09:33 +01:00 
			
		
		
		
	Add test case to check stack overflow crash
Without additional check is angle negative or not in the LargeHole_DontFill function this test case leads to stack overflow. Signed-off-by: AndriyAndreyev <andriy.a.andreyev@gmail.com>
This commit is contained in:
		
							
								
								
									
										14
									
								
								testbed/data/stalactite.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								testbed/data/stalactite.dat
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
450 2250
 | 
			
		||||
450 1750
 | 
			
		||||
400 1700
 | 
			
		||||
350 1650
 | 
			
		||||
350 500
 | 
			
		||||
1050 1700
 | 
			
		||||
HOLE
 | 
			
		||||
980 1636
 | 
			
		||||
950 1600
 | 
			
		||||
650 1230
 | 
			
		||||
625 1247
 | 
			
		||||
600 1250
 | 
			
		||||
591 1350
 | 
			
		||||
550 2050
 | 
			
		||||
		Reference in New Issue
	
	Block a user