Subject: PR/36464 CVS commit: [netbsd-4] src/lib/libc/gen
To: None <,,>
From: Liam J. Foy <>
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" <>
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.