[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27522 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27522 - gnunet/src/util |
Date: |
Fri, 21 Jun 2013 19:41:26 +0200 |
Author: grothoff
Date: 2013-06-21 19:41:26 +0200 (Fri, 21 Jun 2013)
New Revision: 27522
Modified:
gnunet/src/util/test_strings_to_data.c
Log:
-check for NULL (in testcase)
Modified: gnunet/src/util/test_strings_to_data.c
===================================================================
--- gnunet/src/util/test_strings_to_data.c 2013-06-21 17:39:14 UTC (rev
27521)
+++ gnunet/src/util/test_strings_to_data.c 2013-06-21 17:41:26 UTC (rev
27522)
@@ -44,6 +44,7 @@
memset (dst, i+1, sizeof (dst));
end = GNUNET_STRINGS_data_to_string (&src, i, buf, sizeof (buf));
+ GNUNET_assert (NULL != end);
end[0] = '\0';
if (GNUNET_OK !=
GNUNET_STRINGS_string_to_data (buf, strlen (buf), dst, i))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27522 - gnunet/src/util,
gnunet <=