Date: Tue, 30 Dec 2008 12:51:56 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_descrip.c Message-ID: <200812301252.mBUCqBEi095300@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2008-12-30 12:51:56 UTC
FreeBSD src repository
Modified files:
sys/kern kern_descrip.c
Log:
SVN rev 186601 on 2008-12-30 12:51:56Z by kib
Clear the pointers to the file in the struct filedesc before file is closed
in fdfree. Otherwise, sysctl_kern_proc_filedesc may dereference stale
struct file * values.
Reported and tested by: pho
MFC after: 1 month
Revision Changes Path
1.344 +8 -6 src/sys/kern/kern_descrip.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812301252.mBUCqBEi095300>
