From 1bed56cf572a150bdb4c7ae12b362c95901524a1 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 25 May 2018 12:33:14 +0100 Subject: [PATCH] Fix hang on failure of GSSAPI authentication. Added a missing pq_push_front (see commit a41eefff4), without which the SSH_MSG_USERAUTH_FAILURE was being dropped from the userauth packet queue before returning to the top of the loop which waits for it to arrive. --- ssh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh.c b/ssh.c index 74947f13..5b9d0036 100644 --- a/ssh.c +++ b/ssh.c @@ -11005,6 +11005,7 @@ static void do_ssh2_userauth(void *vctx) sfree(s->gss_buf.value); } + pq_push_front(&ssh->pq_ssh2_userauth, pktin); break; } logevent("GSSAPI authentication initialised");