- clang
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 25 Jan 2012 14:14:04 +0000 (14:14 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 25 Jan 2012 14:14:04 +0000 (14:14 +0000)
src/ats/ats_api_scheduling.c

index 31b032f72568df34bc967099b416899d366b9231..b3d6440232fda1754025366ed856803be6fa3ae3 100644 (file)
@@ -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);