Skip to content
Permalink
Browse files

Fix double free key_state->data in kex and session free.

  • Loading branch information
colinw-smartrg committed Dec 11, 2019
1 parent 88f6e60 commit 5e403ffcb63448680f2c6dac59d4a46e436845d3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/kex.c
@@ -2616,6 +2616,7 @@ kex_method_ecdh_key_exchange
}

LIBSSH2_FREE(session, key_state->data);
key_state->data = NULL;
}

ecdh_clean_exit:

0 comments on commit 5e403ff

Please sign in to comment.
You can’t perform that action at this time.