From 012cae139ac7c647b1807f62b64e8b59dafe712b Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Wed, 27 Dec 2017 11:47:08 -0600 Subject: [PATCH] Fix use-after-free in gnunet-cadet --- src/cadet/gnunet-cadet.c | 1 + 1 file changed, 1 insertion(+) 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) { struct GNUNET_PeerIdentity pid; + job = NULL; if (GNUNET_OK != GNUNET_CRYPTO_eddsa_public_key_from_string (tunnel_id, strlen (tunnel_id), -- 2.25.1