aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ats/ats_api_scheduling.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index 31b032f725..b3d6440232 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -1020,6 +1020,11 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh,
size_t namelen;
size_t msize;
+ if (address == NULL)
+ {
+ GNUNET_break (0);
+ return;
+ }
if ((address == NULL) && (session == NULL))
{
GNUNET_break (0);