mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Don't assert on malformed broadcasts, just skip them.
This commit is contained in:
parent
c1a5ef4108
commit
0a5de933c4
@ -509,7 +509,7 @@ static void DrawContents()
|
||||
{
|
||||
auto msg = broadcastListen->Read( len, addr, 0 );
|
||||
if( !msg ) break;
|
||||
assert( len <= sizeof( tracy::BroadcastMessage ) );
|
||||
if( len > sizeof( tracy::BroadcastMessage ) ) continue;
|
||||
tracy::BroadcastMessage bm;
|
||||
memcpy( &bm, msg, len );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user