Hi,

someone is writing a message *not* using chatmode messageview. while the 
normal message window is opened he changes to chatmode messageview using the 
options dialog. then he sends the message he just typed and licq crashes.

this is due to a null pointer beeing dereferenced at usereventdlg.cpp:1335
my patch fixes this issue.

thomas
Index: plugins/qt-gui/src/usereventdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/usereventdlg.cpp,v
retrieving revision 1.98
diff -u -3 -p -r1.98 usereventdlg.cpp
--- plugins/qt-gui/src/usereventdlg.cpp	2 Feb 2003 16:39:35 -0000	1.98
+++ plugins/qt-gui/src/usereventdlg.cpp	3 Feb 2003 18:18:46 -0000
@@ -1331,7 +1331,7 @@ void UserSendCommon::sendDone_common(ICQ
     {
       emit mainwin->signal_sentevent(e);
 
-      if (mainwin->m_bMsgChatView) {
+      if (mainwin->m_bMsgChatView && mleHistory != NULL) {
         mleHistory->GotoEnd();
         resetSettings();
       } else

Attachment: msg01991/pgp00000.pgp
Description: signature

Reply via email to