Skip to content

Truncate max-length messages, chat overflow crash bugfix

Wane Wane requested to merge Wane/SRB2:master into next

To reproduce: set your name to max length, and spam messages over the maxmsglength (224 characters) via the console. This is caused by SRB2's chat window logging getting overflowed by the >255 length messages, when including name/admin status/colors. Once it reaches 64 messages it crashes. Effects non-window too due to the buffer always being on in the background.

EDIT: Wrong version, just to stay safe I'll use the right branches, my B.

Edited by Wane Wane

Merge request reports