[Ns-developers] ListPositionAllocator bug

raj bhattacharjea rbhattacharjea at gmail.com
Thu Jan 8 09:19:40 PST 2009


I believe you reported this into the bug tracker:
http://www.nsnam.org/bugzilla/show_bug.cgi?id=460

The maintainer of the relevant code has been assigned the bug, and is
reviewing your proposed patch and will be providing feedback on the
tracker.  Thanks for reporting this bug.

On Wed, Jan 7, 2009 at 12:40 PM, Tortonesi Mauro
<mauro.tortonesi at unife.it>wrote:

> Dear NS3 developers,
>
> my colleague Stefano Formaggi (in CC) 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
>
> --
> Mauro Tortonesi, Ph.D.
>
> Research Assistant
> Distributed Systems Research Group
> Engineering Department
> University of Ferrara
>



-- 
Raj Bhattacharjea
Georgia Institute of Technology
School of Electrical and Computer Engineering
Ph.D. Candidate
Systems Analyst
404.894.2955


More information about the Ns-developers mailing list