[Ns-bugs] [Bug 130] Segfault when deleting a TCP socket in the "connection fail callback"
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Feb 4 10:54:58 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=130
------- Comment #2 from gjcarneiro at gmail.com 2008-02-04 13:54 -------
Patch to fix the bug:
diff -r a1edfbcca81d src/internet-node/tcp-socket.cc
--- a/src/internet-node/tcp-socket.cc Mon Feb 04 14:15:18 2008 +0000
+++ b/src/internet-node/tcp-socket.cc Mon Feb 04 18:53:38 2008 +0000
@@ -121,6 +121,7 @@ TcpSocket::Destroy (void)
m_node = 0;
m_endPoint = 0;
m_tcp = 0;
+ m_retxEvent.Cancel ();
}
int
TcpSocket::FinishBind (void)
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list