If the window is sized with a large height and small width to the point where the chat panel is less than one character wide, the client will go into an infinite loop inside ControlPanelMessage::breakLines(...) because n will always be 0 and no characters will be consumed by the loop.