[Ns-bugs] [Bug 568] New: Timer's default destroy policy not set

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon May 18 06:00:27 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=568

           Summary: Timer's default destroy policy not set
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: simulation core
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: f1mauchl at hsr.ch
   Estimated Hours: 0.0


Created an attachment (id=440)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=440)
patch

The default destroy policy of a Timer constructed with the default constructor,
does not set the destroy policy to CHECK_ON_DESTROY as stated in the
documentation.

Because of this, during destruction, it is not checked whether the event is
still active (scheduled), which can cause illegal memory access when the event
is executed later.


-- 
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