Summary: | crash after loading new torrent | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | A Kde User <technomage01> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | priviterasalvatore |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
A Kde User
2006-10-27 19:13:49 UTC
The ubuntu ktorrent package is 2.0.3+dfsg1-0ubuntu1 No Problems loading it for me. ktorrent -v Qt: 3.3.6 KDE: 3.5.5 KTorrent: 2.0.3 Using kubuntu SVN commit 599703 by guisson: Addes some safety checks on IP addresses before connecting to peers. This should prevent bug 136392. BUG: 136392 M +4 -0 streamsocket.cpp --- trunk/extragear/network/ktorrent/libktorrent/mse/streamsocket.cpp #599702:599703 @@ -177,6 +177,10 @@ bool StreamSocket::connectTo(const QString & ip,Uint16 port) { + // do a safety check + if (ip.isNull() || ip.length() == 0) + return false; + // we don't wanna block the current thread so set non blocking sock->setNonBlocking(); if (sock->connectTo(Address(ip,port))) *** Bug 138688 has been marked as a duplicate of this bug. *** |