[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4290 - GNUnet/src/applications/fs/ecrs
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4290 - GNUnet/src/applications/fs/ecrs |
Date: |
Thu, 11 Jan 2007 09:34:38 -0800 (PST) |
Author: grothoff
Date: 2007-01-11 09:34:37 -0800 (Thu, 11 Jan 2007)
New Revision: 4290
Modified:
GNUnet/src/applications/fs/ecrs/uri.c
Log:
segv
Modified: GNUnet/src/applications/fs/ecrs/uri.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/uri.c 2007-01-11 17:32:02 UTC (rev
4289)
+++ GNUnet/src/applications/fs/ecrs/uri.c 2007-01-11 17:34:37 UTC (rev
4290)
@@ -1160,6 +1160,12 @@
uri->data.loc.address = NULL;
}
hello = ECRS_getHelloFromUri(uri);
+ if (hello == NULL) {
+ GE_BREAK(NULL, 0);
+ FREENONNULL(uri->data.loc.address);
+ FREE(uri);
+ return NULL;
+ }
signer(signer_cls,
P2P_hello_MESSAGE_size(hello)
- sizeof(Signature)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4290 - GNUnet/src/applications/fs/ecrs,
grothoff <=