From: David Barksdale Date: Wed, 27 Dec 2017 17:47:08 +0000 (-0600) Subject: Fix use-after-free in gnunet-cadet X-Git-Tag: gnunet-0.11.0rc0~71 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=012cae139ac7c647b1807f62b64e8b59dafe712b;p=oweals%2Fgnunet.git Fix use-after-free in gnunet-cadet --- 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),