Subject: CVS commit: [netbsd-4] src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: source-changes
Date: 06/12/2007 16:49:36
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.