Subject: CVS commit: [netbsd-2] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 08/28/2006 14:51:19
Module Name: src
Committed By: tron
Date: Mon Aug 28 14:51:19 UTC 2006
src/sys/kern [netbsd-2]: uipc_syscalls.c
Pull up following revision(s) (requested by seanb in ticket #10675):
sys/kern/uipc_syscalls.c: revision 1.102
Don't leave a dangling socket (no associated struct file) if
user supplied a bad name or anamelen parameter to accept(2).
If bad paramaters were suplied and a copyout() failed, the
struct file was cleaned up but not the associated socket. This
could leave sockets in CLOSE_WAIT that could never be closed.
To generate a diff of this commit:
cvs rdiff -r220.127.116.11 -r18.104.22.168.2.1 src/sys/kern/uipc_syscalls.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.