[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20300 - gnunet/src/namestore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20300 - gnunet/src/namestore |
Date: |
Tue, 6 Mar 2012 09:51:19 +0100 |
Author: wachs
Date: 2012-03-06 09:51:19 +0100 (Tue, 06 Mar 2012)
New Revision: 20300
Modified:
gnunet/src/namestore/plugin_namestore_sqlite.c
Log:
- segfault
Modified: gnunet/src/namestore/plugin_namestore_sqlite.c
===================================================================
--- gnunet/src/namestore/plugin_namestore_sqlite.c 2012-03-06 06:20:54 UTC
(rev 20299)
+++ gnunet/src/namestore/plugin_namestore_sqlite.c 2012-03-06 08:51:19 UTC
(rev 20300)
@@ -467,7 +467,7 @@
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 @@
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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20300 - gnunet/src/namestore,
gnunet <=