Bug 568

Summary: Timer's default destroy policy not set
Product: ns-3 Reporter: Fabian Mauchle <f1mauchl>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: major CC: mathieu.lacage
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

Description Fabian Mauchle 2009-05-18 09:00:27 UTC
Created attachment 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 Mathieu Lacage 2009-05-19 09:41:22 UTC
changeset: b1e16a025279