Subject: CVS commit: src/sys/compat/darwin
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 09/12/2005 20:54:38
Module Name:	src
Committed By:	christos
Date:		Mon Sep 12 20:54:38 UTC 2005

Modified Files:
	src/sys/compat/darwin: darwin_mman.c

Log Message:
- Avoid overflow by checking the count argument (Christer Oeberg).
- While I am here, don't leak fds either.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/compat/darwin/darwin_mman.c

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