Bug 568 - Timer's default destroy policy not set
: Timer's default destroy policy not set
Status: RESOLVED FIXED
: ns-3
simulation core
: ns-3-dev
: All All
: P5 major
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-05-18 09:00 EDT by
Modified: 2009-05-19 09:41 EDT (History)


Attachments
patch (335 bytes, patch)
2009-05-18 09:00 EDT, Fabian Mauchle
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-05-18 09:00:27 EDT
Created an attachment (id=440) [details]
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.
------- Comment #1 From 2009-05-19 09:41:22 EDT -------
changeset: b1e16a025279