diff options
author | Dug Song <dugsong@cvs.openbsd.org> | 1999-10-05 18:34:56 +0000 |
---|---|---|
committer | Dug Song <dugsong@cvs.openbsd.org> | 1999-10-05 18:34:56 +0000 |
commit | 48b6934ebb24d791ce710cf50c1bb2e9b8c892c1 (patch) | |
tree | f9a3a83cff26fe3e9bd48a06ef3cc93f916ebfd3 /usr.bin/ssh | |
parent | 2f6da4636a802db04dea6458358e1cd606d71d7b (diff) |
clear xauthfile on mkstemp failure. adam@xpert.com
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 58caee3eccc..7b768093cc2 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -18,7 +18,7 @@ agent connections. */ #include "includes.h" -RCSID("$Id: sshd.c,v 1.20 1999/10/05 18:01:07 dugsong Exp $"); +RCSID("$Id: sshd.c,v 1.21 1999/10/05 18:34:55 dugsong Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -1445,6 +1445,7 @@ void do_authenticated(struct passwd *pw) } else { xfree(xauthfile); + xauthfile = NULL; } break; #else /* XAUTH_PATH */ |