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

Pavlin Radoslavov pavlin at icir.org
Wed Jul 5 11:59:28 PDT 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-07-05 18:59:28 UTC

XORP CVS repository


Modified files:
	rtrmgr        template_base_command.cc 

Log message:
	If the ConfigTreeNode operator is invalid, then immediately
	return an error rather than calling show_operator() and
	operator_to_str() which will coredump with XLOG_UNREACHABLE().
	
	Note that this error won't be triggered in xorpsh, because xorpsh
	prohibits setting and committing invalid values to config nodes.
	It might happen in programs that use some of the xorpsh code as
	a library and modify the configuration in slightly different way.
	E.g., the Vyatta GUI xgdaemon allows setting various values to
	the configuration, but right before committing it calls
	ConfigTreeNode::check_config_tree() to verify the values (which itself
	will trigger the coredump).
	
	Submitted by:   Marat Nepomnyashy <marat AT vyatta.com>

Revision  Changes                              Path
1.22      +6 -1;  commitid: bada44ac096c7ea6;  xorp/rtrmgr/template_base_command.cc



More information about the Xorp-cvs mailing list