mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08: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…
x
Reference in New Issue
Block a user