Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 09/25/2005 16:28:43
Module Name:	src
Committed By:	jmmv
Date:		Sun Sep 25 16:28:43 UTC 2005

Modified Files:
	src/regress/sys/fs/tmpfs: t_mount
	src/sys/fs/tmpfs: tmpfs_vfsops.c

Log Message:
Sanity check negative values in the maximum size and number of nodes
arguments to avoid a crash while mounting a tmpfs file system.  Add a
regression test for this too.  Noticed by chs@.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/regress/sys/fs/tmpfs/t_mount
cvs rdiff -r1.6 -r1.7 src/sys/fs/tmpfs/tmpfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.