Read beyond buffer bugfix.
This commit is contained in:
		
							parent
							
								
									4f2c482416
								
							
						
					
					
						commit
						715717a4f6
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -384,6 +384,8 @@ static void writeout(void)
 | 
			
		|||
	{
 | 
			
		||||
		printf(" &opchoice[%d], /* %d = %s */\n", elem[i], i, em_mnem[i]);
 | 
			
		||||
	}
 | 
			
		||||
	printf(" &opchoice[%d], /* %d = %s */\n", elem[sp_lmnem - sp_fmnem + 1],
 | 
			
		||||
			sp_lmnem - sp_fmnem + 1, "");
 | 
			
		||||
	printf("} ;\n");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue