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 04 2009 - 06:51:02 CST


CVSROOT: /cvs
Module name: src
Changes by: claudiocvs.openbsd.org 2009/03/04 05:51:01

Modified files:
        usr.sbin/ospfd : auth.c buffer.c imsg.c ospfd.h ospfe.c

Log message:
Introduce and use buf_size(buf) instead of buf->wpos -- at least in the non
buf/imsg specific code. buf_close() will no force a truncation of the buffer
to the wpos but actually add code in imsg.c to detect and report such silly
behaviour. Makes the buf API a bit more sane.