[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Claudio Jeker <claudio_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Wed, 23 Mar 2005 13:28:29 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: claudio_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2005/03/23 13:28:29
Modified files:
usr.sbin/ospfd : kroute.c
Log message:
The interface name in struct sockaddr_dl may not be nul terminated and
so the strlcpy() will copy to much. Use sa_nlen instead with some additional
logic. This fixes a problem where interfaces where not found.
OK norby@
Visit your host, monkey.org