[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	claudio_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/02/09 13:50:09

Modified files:
	usr.sbin/bgpd  : rde_attr.c 

Log message:
attr_free() should not modify others_len as it does not resize the others
array. It just clears on entry by setting it to NULL and moving that NULL
to the end of the array. With this it will be possible to remove attributes
without readding them right afterwards. Because of this attr_diff() needs to
be more careful because of passed NULL pointers. OK henning@