From: Christian Grothoff Date: Thu, 4 Jan 2018 21:29:52 +0000 (+0100) Subject: fix major initialization issue in datacache postgres plugin X-Git-Tag: gnunet-0.11.0rc0~16^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=70a66289307333b1edfc1fbb38c2232deb5ae2ab;p=oweals%2Fgnunet.git fix major initialization issue in datacache postgres plugin --- diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index 2fe6498a5..2c233c4c2 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c @@ -538,6 +538,14 @@ extract_result_cb (void *cls, GNUNET_PQ_result_spec_end }; + if (GNUNET_YES != + GNUNET_PQ_extract_result (result, + rs, + i)) + { + GNUNET_break (0); + return; + } if (0 != (path_len % sizeof (struct GNUNET_PeerIdentity))) { GNUNET_break (0);