From b943b962c2c8601fc8d25ed7ed8cfad9d4bce55f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 8 Mar 2012 18:17:31 +0000 Subject: [PATCH] -a note to LRN --- src/peerinfo-tool/gnunet-peerinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index 22df4f7a1..d89682d1c 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c @@ -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, -- 2.25.1