From: Christian Grothoff Date: Thu, 8 Mar 2012 18:17:31 +0000 (+0000) Subject: -a note to LRN X-Git-Tag: initial-import-from-subversion-38251~14344 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b943b962c2c8601fc8d25ed7ed8cfad9d4bce55f;p=oweals%2Fgnunet.git -a note to LRN --- 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,