mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			527 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			527 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- fstapi.cc
 | |
| +++ fstapi.cc
 | |
| @@ -6072,6 +6072,7 @@ for(;;)
 | |
|                                                                  }
 | |
|  
 | |
|                                                          wx_len = snprintf(wx_buf, 32, "r%.16g", d);
 | |
| +                                                        if (wx_len > 32 || wx_len < 0) wx_len = 32;
 | |
|                                                          fstWritex(xc, wx_buf, wx_len);
 | |
|                                                          }
 | |
|                                                  }
 |