Import release 2.0.1
This commit is contained in:
@@ -931,7 +931,9 @@ NetworkWindow::~NetworkWindow()
|
||||
logMessage += formatRawData( incoming, message, slpLength, 1 );
|
||||
}
|
||||
}
|
||||
else if( dataSize >= 18 && message[ p2pDataStart ] == '\x80' )
|
||||
else if( dataSize >= 18
|
||||
&& message.size() > p2pDataStart
|
||||
&& message[ p2pDataStart ] == '\x80' )
|
||||
{
|
||||
// Webcam invitation
|
||||
QString camMessage( QString::fromUtf16( reinterpret_cast<const ushort *>( dataPtr + 10 ), ( safeSize - 10 - 1 ) / 2 ) );
|
||||
|
||||
Reference in New Issue
Block a user