memory corruption
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 18 Feb 2013 09:22:40 +0000 (09:22 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 18 Feb 2013 09:22:40 +0000 (09:22 +0000)
src/peerinfo-tool/gnunet-peerinfo.c

index 809b2a5929b2addb5a675d269c28e7a9f61fa6b5..6e1007e40d8526329d2a0c03678b5178601e3d90 100644 (file)
@@ -432,7 +432,7 @@ add_continuation (void *cls,
 static int
 parse_hello_uri (const char *put_uri)
 {
-  struct GNUNET_HELLO_Message *hello;
+  struct GNUNET_HELLO_Message *hello = NULL;
 
   int ret = GNUNET_HELLO_parse_uri(put_uri, &my_public_key, &hello, &GPI_plugins_find);