[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 26/28: add assertion to make static analysis happy
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 26/28: add assertion to make static analysis happy |
Date: |
Fri, 10 Mar 2017 18:19:10 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit d773b6f69d1be9bf7f89758714920cd5495ddd5d
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 18:16:02 2017 +0100
add assertion to make static analysis happy
---
src/nat/gnunet-service-nat_externalip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/nat/gnunet-service-nat_externalip.c
b/src/nat/gnunet-service-nat_externalip.c
index 8df6f48a5..f79ff4070 100644
--- a/src/nat/gnunet-service-nat_externalip.c
+++ b/src/nat/gnunet-service-nat_externalip.c
@@ -182,6 +182,7 @@ handle_external_ip (void *cls,
switch (result)
{
case GNUNET_NAT_ERROR_SUCCESS:
+ GNUNET_assert (NULL != addr);
if (addr->s_addr == mini_external_ipv4.s_addr)
return; /* not change */
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] 14/28: fix double-free, (continued)
- [GNUnet-SVN] [gnunet] 14/28: fix double-free, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 11/28: fix double-free, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 18/28: fix integer overflow test to actually work, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 21/28: remove redundant condition in assertion, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 19/28: properly detect and handle parse error, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 13/28: prevent division by zero, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 23/28: check return value from GNUNET_program_run, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 24/28: fix comment, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 27/28: add assertion to make static analysis happy, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 25/28: use correct channel when switching, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 26/28: add assertion to make static analysis happy,
gnunet <=
- [GNUnet-SVN] [gnunet] 28/28: add assertion to make static analysis happy, gnunet, 2017/03/10