# HG changeset patch # User Tommaso Pecorella # Date 1422391985 -3600 # Node ID d390d8eaafe2c01a9f358f012b0e2a18dbb87efc # Parent dc8d61ed5b73c230b2edf6488d133edffdf557e0 Bug 2047 - Ipv6EndPointDemux::Lookup may crash diff -r dc8d61ed5b73 -r d390d8eaafe2 RELEASE_NOTES --- a/RELEASE_NOTES Mon Jan 26 22:53:31 2015 -0800 +++ b/RELEASE_NOTES Tue Jan 27 21:53:05 2015 +0100 @@ -58,6 +58,7 @@ - Bug 2037 - HT capabilities may print bogus chars - Bug 2038 - Stop method does not stop next wave in WaveformGenerator - Bug 2045 - Missing NS_OBJECT_ENSURE_REGISTERED in TcpTxBuffer and TcpRxBuffer +- Bug 2047 - Ipv6EndPointDemux::Lookup may crash Known issues ------------ diff -r dc8d61ed5b73 -r d390d8eaafe2 src/internet/model/ipv6-end-point-demux.cc --- a/src/internet/model/ipv6-end-point-demux.cc Mon Jan 26 22:53:31 2015 -0800 +++ b/src/internet/model/ipv6-end-point-demux.cc Tue Jan 27 21:53:05 2015 +0100 @@ -197,6 +197,10 @@ if (endP->GetBoundNetDevice ()) { + if (!incomingInterface) + { + continue; + } if (endP->GetBoundNetDevice () != incomingInterface->GetDevice ()) { NS_LOG_LOGIC ("Skipping endpoint " << &endP