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: Chad Loder (clodercvs.openbsd.org)
Date: Wed Mar 02 2005 - 18:14:17 CST


CVSROOT: /cvs
Module name: src
Changes by: clodercvs.openbsd.org 2005/03/02 17:14:17

Modified files:
        lib/libutil : uucplock.c

Log message:
Make sure we check snprintf return value for failure or truncation before
using it. Make uu_lock_txfr work by properly checking return value from
put_pid(). Fix an FD leak on the lockfile in an error path (from FreeBSD
with modifications). OK millert, input from otto and Bruno Rohee.