commit 70a66289307333b1edfc1fbb38c2232deb5ae2ab
parent 6f1e5e46c284bf5f172404e49b0861912a09493a
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 4 Jan 2018 22:29:52 +0100
fix major initialization issue in datacache postgres plugin
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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);