Crash when using colors
I noticed that client sometimes crashes to desktop when I am trying to use colors.
Not that this is some feature I use a lot and it is caused by operator error, but I am reporting it anyways.
It works fine if I properly close color tag:
[\x03]20,15 some text[\x03]
or if you stack them like:
[\x03]20,15 some text[\x03]25,20 some other text[\x03]
But if I dont use closing tag as:
[\x03]20,15 some text
[\x03]20,15 some text[\x03]25,20 some other text
then client crashes. But only in some cases. I havent figured out what exactly triggers the crash yet. But message that causes crash always crashes and message that works fine works every time. After some more testing I noticed that some messages work on some IRC networks but crash on some other networks (in case last character is \x08).
When it crashes client becomes unresponsive after you type the text and press enter, colored message is printed in channel buffer, cursor blinks only one more time then it becomes unresponsive and closes itself after half minute. Colored texts is saved in SQL and visible in buffer after restart.
Here are wordpad and txt document (wordpad rtf format shows and allows to copy/paste \x03 and \x08) with exact quotes I used for testing if you want to reproduce the crashes.
I dont have time to do more tests. I can do more tests on fresh profile in future if there will be any interest in this bug.