OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Claudio Jeker (claudiocvs.openbsd.org)
Date: Wed Mar 15 2006 - 07:25:33 CST


CVSROOT: /cvs
Module name: src
Changes by: claudiocvs.openbsd.org 2006/03/15 06:25:33

Modified files:
        usr.sbin/ospfd : interface.c ospfd.h parse.y

Log message:
Looks like auth-type simple was busted since a long time. We bcmp() a
c string with a lenght <= 8 with a buffer of size 8. Now in some cases
there can be trailing garbage after the c-string and so the bcmp() fails.
Found by Sergey Matveychuk who provided a similar patch.
OK norby