Subject: PR/36464 CVS commit: [netbsd-4] src/lib/libc/gen
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 06/12/2007 16:50:03
The following reply was made to PR lib/36464; it has been noted by GNATS.

From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36464 CVS commit: [netbsd-4] src/lib/libc/gen
Date: Tue, 12 Jun 2007 16:49:36 +0000 (UTC)

 Module Name:	src
 Committed By:	liamjfoy
 Date:		Tue Jun 12 16:49:36 UTC 2007
 
 Modified Files:
 	src/lib/libc/gen [netbsd-4]: scandir.c
 
 Log Message:
 Pull up following revision(s) (requested by christos in ticket #717):
 	lib/libc/gen/scandir.c: revision 1.26
 PR/36464: scandir(3) corrupts heap when run on ZFS directories because ZFS
 returns the number of entries as the directory size.
 Use a new, more conservative entries estimator.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.25 -r1.25.4.1 src/lib/libc/gen/scandir.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.