Prevent double free() of a used challenge nonce.
This commit is contained in:
parent
b0709d2649
commit
269892f70b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue