mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 08:31:57 -05:00
Fix an out-of-bounds issue.
This commit is contained in:
parent
9cfd14a34d
commit
56e5943969
@ -3501,7 +3501,7 @@ void MainWindow::guiUpdate()
|
|||||||
if(!m_config.bGenerate77() and itype == 6 and (m_i3>0 or m_n3>0)) m_isync=2;
|
if(!m_config.bGenerate77() and itype == 6 and (m_i3>0 or m_n3>0)) m_isync=2;
|
||||||
if(m_config.bGenerate77()) m_isync=2;
|
if(m_config.bGenerate77()) m_isync=2;
|
||||||
// qDebug() << "itype=" << itype << "i3, n3:"<< m_i3 << m_n3 << "isync="<< m_isync << ui->tx6->text();
|
// qDebug() << "itype=" << itype << "i3, n3:"<< m_i3 << m_n3 << "isync="<< m_isync << ui->tx6->text();
|
||||||
char ft8msgbits[75 + 12]; //packed 75 bit ft8 message plus 12-bit CRC
|
char ft8msgbits[77];
|
||||||
genft8_(message, MyGrid, &bcontest, &m_i3, &m_n3, &m_isync, msgsent,
|
genft8_(message, MyGrid, &bcontest, &m_i3, &m_n3, &m_isync, msgsent,
|
||||||
const_cast<char *> (ft8msgbits), const_cast<int *> (itone), 37, 6, 37);
|
const_cast<char *> (ft8msgbits), const_cast<int *> (itone), 37, 6, 37);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user