Bug #1389
Rename a query buffer to contain a newline can lead to a crashing quasselclient
100%
Description
Renaming a query buffer to contain a newline in the name can lead to a crash.
How to reproduce:
1. Rename a query buffer into a name that contains a newline (for example, using copy-paste of a multiline string)
2. Hover over buffername.
What should happen:
Tooltip is displayed normally
What does happen:
Client crashes.
Version: v0.12.2 (git-9c5e6c6) || Protocol version: 10 || Built: May 20 2015 14:17:35
Associated revisions
Don't allow newlines in buffer names
Since it is possible to enter newlines when renaming a buffer via
the GUI, we need to have a sanity check that cuts off the additional
lines.
Fixes #1389.
History
#1 Updated by public almost 9 years ago
How to reproduce:
1. Rename a query buffer into a name that contains a newline (for example, using copy-paste of a multiline string)
2. Hover over buffername and clicking on it.
#2 Updated by Anonymous almost 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset quassel|ecf1ab29dd398f0e0beaff327443909096d24f55.
Don't allow newlines in buffer names
Since it is possible to enter newlines when renaming a buffer via
the GUI, we need to have a sanity check that cuts off the additional
lines.
Fixes #1389.