[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36004 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36004 - gnunet/src/cadet |
Date: |
Fri, 26 Jun 2015 14:42:09 +0200 |
Author: bartpolot
Date: 2015-06-26 14:42:09 +0200 (Fri, 26 Jun 2015)
New Revision: 36004
Modified:
gnunet/src/cadet/cadet_path.c
Log:
- if a path is NULL is not equivalent to any other
Modified: gnunet/src/cadet/cadet_path.c
===================================================================
--- gnunet/src/cadet/cadet_path.c 2015-06-26 12:15:18 UTC (rev 36003)
+++ gnunet/src/cadet/cadet_path.c 2015-06-26 12:42:09 UTC (rev 36004)
@@ -244,6 +244,9 @@
unsigned int l;
unsigned int half;
+ if (NULL == p1 || NULL == p2)
+ return GNUNET_NO;
+
if (p1->length != p2->length)
return GNUNET_NO;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36004 - gnunet/src/cadet,
gnunet <=