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: Tom Cosgrove (tomcvs.openbsd.org)
Date: Tue Mar 01 2005 - 18:35:04 CST


CVSROOT: /cvs
Module name: src
Changes by: tomcvs.openbsd.org 2005/03/01 17:35:04

Modified files:
        sys/msdosfs : msdosfs_lookup.c

Log message:
Make all the MS-DOS filesystem code ignore trailing dots and spaces, in
the same way that Windows does. Without this, `touch .foobar.' followed
by `touch .foobar.' will create two directory entries called `.foobar',
thereby corrupting the filesystem.

Found by todd, who has been doing things with msdosfs that are truly
obscene.

"alright" tedu, ok deraadt