From 6214adca43184cbd72d5da379f80dc62469e721f Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 2 Jan 1997 21:33:33 +0000 Subject: [PATCH] avoid SIGURG race; dg@root.com --- libexec/ftpd/ftpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index c25837ff821..d1ff7fc5a95 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.28 1996/12/14 23:09:46 deraadt Exp $ */ +/* $OpenBSD: ftpd.c,v 1.29 1997/01/02 21:33:33 deraadt Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -1708,6 +1708,7 @@ void dologout(status) int status; { + transflag = 0; if (logged_in) { (void) seteuid((uid_t)0); -- 2.20.1