From 269892f70bf357de6ad66ca89daa34b225ee9e37 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 20 Oct 2007 11:21:44 +0000 Subject: [PATCH] Prevent double free() of a used challenge nonce. --- src/protocol_auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 46bb6e64..0471932a 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -335,6 +335,7 @@ bool chal_reply_h(connection_t *c, char *request) { */ free(c->hischallenge); + c->hischallenge = NULL; c->allow_request = ACK; return send_ack(c); -- 2.20.1