Could someone give the attached patch a try in -current? It fixes the
file descriptor leak that the KKIS.05051999.003b exploit causes. This
fix seems to work fine in -stable. I'd like to commit it to the current
tree and merge it into -stable before the 3.2 code freeze.
Index: uipc_usrreq.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/uipc_usrreq.c,v
retrieving revision 1.43
diff -u -u -r1.43 uipc_usrreq.c
--- uipc_usrreq.c 1999/04/28 11:37:07 1.43
+++ uipc_usrreq.c 1999/05/09 23:50:45
@@ -367,6 +367,9 @@
unp_shutdown(unp);
}
+ if (control && error != 0)
+ unp_dispose(control);
+
release:
if (control)
m_freem(control);
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message