[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 136390] Yahoo duplicate login causes NULL pointer dereference
From:       Andre Duffeck <andre () duffeck ! de>
Date:       2006-11-08 11:17:17
Message-ID: 20061108111717.31922.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=136390         
andre duffeck de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From andre duffeck de  2006-11-08 12:15 -------
SVN commit 603246 by duffeck:

That should fix the crash after duplicate login.
BUG: 136390


 M  +4 -1      client.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/protocols/yahoo/libkyahoo/client.cpp \
#603245:603246  @ -258,6 +258,9  @
 		setStatus( d->statusOnConnect );
 		m_pingTimer->start( 60 * 1000 );
 		initTasks();
+	} else {
+		d->active = false;
+		close();
 	}
 
 	kdDebug(YAHOO_RAW_DEBUG) << k_funcinfo << "Emitting loggedIn" << endl;
 @ -752,7 +755,7  @
 	QObject::connect( d->statusTask, SIGNAL( stealthStatusChanged( const QString&, \
                Yahoo::StealthStatus ) ), 
 				SIGNAL( stealthStatusChanged( const QString&, Yahoo::StealthStatus ) ) );
 	QObject::connect( d->statusTask, SIGNAL( loginResponse( int, const QString& ) ), 
-				SIGNAL( loggedIn( int, const QString& ) ) );
+				SLOT( slotLoginResponse( int, const QString& ) ) );
 	QObject::connect( d->statusTask, SIGNAL( authorizationRejected( const QString&, \
const QString& ) ),   SIGNAL( authorizationRejected( const QString&, const QString& ) \
) );  QObject::connect( d->statusTask, SIGNAL( authorizationAccepted( const QString& \
) ),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic