diff options
author | kib <kib@FreeBSD.org> | 2008-12-30 12:51:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-12-30 12:51:56 +0000 |
commit | 2349a65923842226ae7c1ed630f1d87991af065f (patch) | |
tree | 7135e4581cdd1907c670846ab78199621dd7bc4e /gnu/usr.bin | |
parent | c81ec4dc0cecf45dc086334679db54d433ea478d (diff) | |
download | FreeBSD-src-2349a65923842226ae7c1ed630f1d87991af065f.zip FreeBSD-src-2349a65923842226ae7c1ed630f1d87991af065f.tar.gz |
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
Diffstat (limited to 'gnu/usr.bin')
0 files changed, 0 insertions, 0 deletions