Bug 2047

Summary: Ipv6EndPointDemux::Lookup may crash
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: ipv6Assignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: blocker CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: fix

Description Tommaso Pecorella 2015-01-27 15:43:05 UTC
The problem is in Ipv6EndPointDemux::Lookup.
When the Socket is bound to an interface and the lookup is on a IPv6 mapped IPv4 address... segmentation fault.

Kudos to Wendell Soares for finding it. The discussion is here:
https://groups.google.com/forum/#!topic/ns-3-users/LmWcM8majGU
Comment 1 Tommaso Pecorella 2015-01-27 15:46:41 UTC
Created attachment 1956 [details]
fix
Comment 2 Tommaso Pecorella 2015-01-27 15:57:29 UTC
changeset:   11165:d390d8eaafe2