cvs commit: src/sys/kern kern_descrip.c
Jeff Roberson
jeff at FreeBSD.org
Wed Jan 2 17:27:00 PST 2008
jeff 2008-01-03 01:26:59 UTC
FreeBSD src repository
Modified files:
sys/kern kern_descrip.c
Log:
- In sysctl_kern_file skip fdps with negative lastfiles. This can
happen if there are no files open. Accounting for these can
eventually return a negative value for olenp causing sysctl to
crash with a bad malloc.
Reported by: Pawel Worach <pawel.worach at gmail.com>
Revision Changes Path
1.316 +2 -1 src/sys/kern/kern_descrip.c
More information about the cvs-src
mailing list