mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-19 22:25:59 +00:00
GetBroadcastMessage is given strlen(m_programName), which can exceed WelcomeMessageProgramNameSize when the program name is set with a long string (e.g. by the Python bindings). Clamp the length inside GetBroadcastMessage, which owns the fixed-size buffer. Also null-terminate names stored in the Python NameBuffer and reject names that leave no room for the terminator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>