-a note to LRN
authorChristian Grothoff <christian@grothoff.org>
Thu, 8 Mar 2012 18:17:31 +0000 (18:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 8 Mar 2012 18:17:31 +0000 (18:17 +0000)
src/peerinfo-tool/gnunet-peerinfo.c

index 22df4f7a1dbd6466700b5ce115bf1ba45061b03d..d89682d1cb0c39454d5ed53ec7637a7eadf555cc 100644 (file)
@@ -457,7 +457,7 @@ parse_hello (const struct GNUNET_CONFIGURATION_Handle *c,
   ctx.tmp_len = strlen (path_part);
   exc = strstr (ctx.tmp, "!");
   if (exc == NULL)
-    exc = ctx.pos + ctx.tmp_len;
+    exc = ctx.pos + ctx.tmp_len; // FIXME-LRN: ctx.pos is uninitialized here!
   ctx.pos = exc;
 
   std_result = GNUNET_STRINGS_string_to_data (ctx.tmp, exc - ctx.tmp,