[Ns-bugs] [Bug 460] New: ListPositionAllocator bug
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Jan 7 09:25:55 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=460
Summary: ListPositionAllocator bug
Product: ns-3
Version: ns-3-dev
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: mobility models
AssignedTo: ns-bugs at isi.edu
ReportedBy: mauro.tortonesi at unife.it
Estimated Hours: 0.0
Dear NS3 developers,
my colleague Stefano Formaggi and I have found a bug in the
ListPositionAllocator code.
When the ListPositionAllocator::GetNext method is called after the list of
positions provided by the user is finished, it returns uninitialized values.
The patch in attachment fixes the problem by reinitializing the m_current
iterator when it reaches the end of m_position. It applies on both ns-3.3 and
current ns-3-dev trunk.
Mauro Tortonesi
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list