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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/10/02 06:01:40

Modified files:
	lib/libutil    : readlabel.c 

Log message:
Fix off by one comparison. FSMAXTYPES is the last valid index into
fstypesnames[], but that entry is NULL. The last valid file system
name is at fstypesnames[FSMAXTYPES-1].

Encountered and diagnosed by pedro_(_at_)__(_dot_)_

ok pedro@ deraadt@



Visit your host, monkey.org