From 2004f7dccb69cc461a694c10a50e4a650ff83743 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 25 Jan 2012 14:14:04 +0000 Subject: [PATCH] - clang --- src/ats/ats_api_scheduling.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index 31b032f72..b3d644023 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); -- 2.25.1