[Xorp-cvs] XORP cvs commit: xorp/policy

Pavlin Radoslavov pavlin at icir.org
Tue Oct 31 18:34:57 PST 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-11-01 02:34:57 UTC

XORP CVS repository


Modified files:
	policy        configuration.cc dependancy.hh policy_map.hh 

Log message:
	Fix a coredump problem during the xorp_rtrmgr shutdown if a statement
	list like network4-list is used.
	
	The issue was that a Dependancy instance (Configuration::_sets) was
	used (by a reference) after it has been destroyed.
	
	The solution is to clear the Configuration::_policies before the
	Configuration::_sets goes out of scope.
	Otherwise, the _policies destructor might try to use a reference
	to _sets after _sets has been destroyed.

Revision  Changes                               Path
1.17      +8 -1;  commitid: 4e18454806e67ea6;   xorp/policy/configuration.cc
1.8       +10 -6;  commitid: 4e18454806e67ea6;  xorp/policy/dependancy.hh
1.6       +3 -1;  commitid: 4e18454806e67ea6;   xorp/policy/policy_map.hh



More information about the Xorp-cvs mailing list