[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: [kopete-devel] [Bug 136390] New: Yahoo duplicate login causes NULL
From: Matt Seitz <seitz () neopathnetworks ! com>
Date: 2006-10-27 16:23:27
Message-ID: 20061027182326.136390.seitz () neopathnetworks ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=136390
Summary: Yahoo duplicate login causes NULL pointer dereference
Product: kopete
Version: unspecified
Platform: RedHat RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kopete-devel kde org
ReportedBy: seitz neopathnetworks com
Version: 0.12.2 (using KDE KDE 3.5.5)
Installed from: RedHat RPMs
Compiler: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
OS: Linux
I found a NULL pointer dereference in \
"protocols/yahoo/libkyahoo/yahooclientstream.cpp":
I have built Kopete 0.12.2 using kdelibs-3.3.1-6.RHEL4 on my CentOS 4 Linux (a clone \
of RHEL 4) system. It is working well, except I get a segfault when I am connected \
to Yahoo!, and I then connect to Yahoo! from another system.
With some help from the list, I compiled a debug version and ran it under GDB. \
That's how I found the problem:
void ClientStream::cp_outgoingData( const QByteArray& outgoingBytes )
{
// take formatted bytes from CoreProtocol and put them on the wire
kdDebug(YAHOO_RAW_DEBUG) << k_funcinfo << "[data size: " << outgoingBytes.size() \
<< "]" << endl; //cs_dump( outgoingBytes );
d->bs->write( outgoingBytes );
}
The segfault happens on the "d->bs->write( outgoingBytes );" statement. At this \
point, "d->bs" is NULL.
Looking at the call stack, it appears this originated with a call to \
"Client::sendPing()". _______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic