[Konversation-devel] [konversation] [Bug 360490] Crash after closing "DCC status" tab

Lisa via KDE Bugzilla bugzilla_noreply at kde.org
Wed May 4 23:42:59 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=360490

--- Comment #3 from Lisa <syn.shainer at gmail.com> ---
The discrepancy originates at one of the calls to removeTab (likely the one
inside closeDccPanel) and m_popupViewIndex is never updated, so it becomes out
of bounds.

I attached a patch that works both as a quick fix for this crash and as a "safe
default" in the general case: canMoveView{Left,Right} detect the invalid
pointer and return "false", causing the view to shift to the first tab in the
list rather than to the adjacent one. A minor annoyance compared to the crash.

It is not the "proper" fix to this issue though, so I'll leave to the owners
the decision on what to do with it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Konversation-devel mailing list