[Xorp-cvs] XORP cvs commit: xorp/fea/data_plane/fibconfig xorp/fea/data_plane/ifconfig

Pavlin Radoslavov pavlin at icir.org
Tue Jun 12 17:15:52 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-06-13 00:15:52 UTC

XORP CVS repository


Modified files:
	fea/data_plane/fibconfig fibconfig_table_get_sysctl.cc 
	fea/data_plane/ifconfig ifconfig_get_sysctl.cc 

Log message:
	Bug fix in the sysctl(3) mechanism usage.
	
	The size of the obtained data wasn't calculated properly when we
	call sysctl(3) twice one after the other (the first time to calculate
	the necessary buffer size to store the data).
	The correct data size should be obtained from the second time sysctl(3)
	is called.
	
	The bug was revealed on NetBSD-3.1 and OpenBSD-4.1.

Revision  Changes                               Path
1.9       +6 -1;  commitid: 15812466f36097ea6;  xorp/fea/data_plane/fibconfig/fibconfig_table_get_sysctl.cc
1.8       +6 -1;  commitid: 15812466f36097ea6;  xorp/fea/data_plane/ifconfig/ifconfig_get_sysctl.cc



More information about the Xorp-cvs mailing list