From: Matthias Wachs Date: Tue, 6 Mar 2012 08:51:19 +0000 (+0000) Subject: - segfault X-Git-Tag: initial-import-from-subversion-38251~14407 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9239e7af2ddec7f0bdce670476f8aeed2327229e;p=oweals%2Fgnunet.git - segfault --- diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 2d660cb7e..a6009611c 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c @@ -467,7 +467,7 @@ namestore_sqlite_put_records (void *cls, struct Plugin *plugin = cls; int n; GNUNET_HashCode zone; - GNUNET_HashCode zone_delegation; + struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded zone_delegation; GNUNET_HashCode nh; size_t name_len; uint64_t rvalue; @@ -483,6 +483,7 @@ namestore_sqlite_put_records (void *cls, if (rd[i].record_type == GNUNET_NAMESTORE_TYPE_PKEY) { GNUNET_assert (sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) == rd[i].data_size); + GNUNET_break (0); memcpy (&zone_delegation, rd[i].data, sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded));