mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Fix the crash that we were seeing on linux. The string s[41] was too short to include the null termination.
This commit is contained in:
		
							parent
							
								
									b252c11815
								
							
						
					
					
						commit
						f821f32562
					
				@ -3726,7 +3726,7 @@ void MainWindow::guiUpdate()
 | 
			
		||||
    astroUpdate ();
 | 
			
		||||
 | 
			
		||||
    if(m_transmitting) {
 | 
			
		||||
      char s[41];
 | 
			
		||||
      char s[42];
 | 
			
		||||
      if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
 | 
			
		||||
        sprintf(s,"Tx:  %d Slots",foxcom_.nslots);
 | 
			
		||||
      } else {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user