From 70a66289307333b1edfc1fbb38c2232deb5ae2ab Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Jan 2018 22:29:52 +0100 Subject: fix major initialization issue in datacache postgres plugin --- src/datacache/plugin_datacache_postgres.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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); -- cgit v1.2.3