Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 11/08/2000 10:06:25
Module Name:	syssrc
Committed By:	jdolecek
Date:		Wed Nov  8 08:06:24 UTC 2000

Modified Files:
	syssrc/sys/adosfs: advfsops.c

Log Message:
adosfs_mountfs(): check for zero amp->secsperblk before dividing by it (which
would cause trap and panic); it might be invalid if the mounted filesystem is
not actually adosfs.
This fixes kern/11335 by Petri Koistinen.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 syssrc/sys/adosfs/advfsops.c

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