gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix major initialization is


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix major initialization issue in datacache postgres plugin
Date: Thu, 04 Jan 2018 22:29:55 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 70a662893 fix major initialization issue in datacache postgres plugin
70a662893 is described below

commit 70a66289307333b1edfc1fbb38c2232deb5ae2ab
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jan 4 22:29:52 2018 +0100

    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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]