From 39ebd17269fa1bc274c6e38223e0f824d8260cd7 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 21 Jan 1999 09:02:18 +0000 Subject: [PATCH] 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. --- sys/kern/uipc_usrreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index d528f5e5f23..abdb71e412f 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