summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-21 09:02:18 +0000
committerdillon <dillon@FreeBSD.org>1999-01-21 09:02:18 +0000
commitb90a2bf7064601446eda1e2f397e4b3baa1ef9f1 (patch)
tree4b1950b9c85b18a173bec3c7c3991c028dc691fc /sys/kern/uipc_usrreq.c
parent1cb49fc563f04b45df91072e4783e1e8a22b50f0 (diff)
downloadFreeBSD-src-b90a2bf7064601446eda1e2f397e4b3baa1ef9f1.zip
FreeBSD-src-b90a2bf7064601446eda1e2f397e4b3baa1ef9f1.tar.gz
The code that reclaims descriptors from in-transit unix domain
descriptor-passing messages was calling sorflush() without checking to see if the descriptor was actually a socket. This can cause a crash by exiting programs that use the mechanism under certain circumstances.
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r--sys/kern/uipc_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index d528f5e..abdb71e 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94
- * $Id: uipc_usrreq.c,v 1.37 1998/10/25 17:44:51 phk Exp $
+ * $Id: uipc_usrreq.c,v 1.38 1999/01/21 08:29:04 dillon Exp $
*/
#include <sys/param.h>
OpenPOWER on IntegriCloud