diff options
author | David Barksdale <amatus@amat.us> | 2017-12-27 11:47:08 -0600 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2017-12-27 11:47:08 -0600 |
commit | 012cae139ac7c647b1807f62b64e8b59dafe712b (patch) | |
tree | 2d2b2ec76d359bf1156a3f74e693c3a73dca7f66 /src/cadet/gnunet-cadet.c | |
parent | 9c13c44768d048339c5b1c48d4b0ef35000c524d (diff) | |
download | gnunet-012cae139ac7c647b1807f62b64e8b59dafe712b.tar.gz gnunet-012cae139ac7c647b1807f62b64e8b59dafe712b.zip |
Fix use-after-free in gnunet-cadet
Diffstat (limited to 'src/cadet/gnunet-cadet.c')
-rw-r--r-- | src/cadet/gnunet-cadet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c index 675e7faf0..a9b02714b 100644 --- a/src/cadet/gnunet-cadet.c +++ b/src/cadet/gnunet-cadet.c | |||
@@ -693,6 +693,7 @@ show_tunnel (void *cls) | |||
693 | { | 693 | { |
694 | struct GNUNET_PeerIdentity pid; | 694 | struct GNUNET_PeerIdentity pid; |
695 | 695 | ||
696 | job = NULL; | ||
696 | if (GNUNET_OK != | 697 | if (GNUNET_OK != |
697 | GNUNET_CRYPTO_eddsa_public_key_from_string (tunnel_id, | 698 | GNUNET_CRYPTO_eddsa_public_key_from_string (tunnel_id, |
698 | strlen (tunnel_id), | 699 | strlen (tunnel_id), |