Bug #764
client crashes on lines from nicks like "__"
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/08/2009
Due date:
% Done:
100%
Estimated time:
Version:
0.5-pre
OS:
Any
Description
Quassel crashes if a nick only contains underslashes.
we found out, that the fault should be in uistyle.cpp, line 695
while(nick.at(nick.count() - 1 - chopCount) == '_')
in case of __ nick it strips all of it.
if needed Ive also got a crashlog here.
Crazy_Hopper already provided a patch, that i attached:
<Crazy_Hopper> Here is the simple patch to fix the crash. It's against the latest git.
<Crazy_Hopper> http://nestsite.selfip.net/~eugene/quassel_nick_hashing.patch
<Crazy_Hopper> it makes sure that at least one symbol remains after chopping the nick
Associated revisions
History
#1 Updated by EgS over 15 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset eb3bfb3d7909160b3b34995d074d0bacb7ae77c0.
fixes #764 - client crashes on lines from nicks like "__"
Nicks consisting only of underscores are no longer treated as a variant of some basename.