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: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Mon Oct 02 2006 - 07:01:40 CDT


CVSROOT: /cvs
Module name: src
Changes by: krwcvs.openbsd.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.

ok pedro deraadt