gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28723 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r28723 - gnunet/src/transport
Date: Tue, 20 Aug 2013 13:33:53 +0200

Author: wachs
Date: 2013-08-20 13:33:53 +0200 (Tue, 20 Aug 2013)
New Revision: 28723

Modified:
   gnunet/src/transport/plugin_transport_wlan.c
Log:
fix clang report


Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c        2013-08-20 11:32:37 UTC 
(rev 28722)
+++ gnunet/src/transport/plugin_transport_wlan.c        2013-08-20 11:33:53 UTC 
(rev 28723)
@@ -588,6 +588,12 @@
   size_t size = sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage) + 
msize;
   char buf[size];
 
+  if (NULL == endpoint)
+  {
+       GNUNET_break (0);
+       return;
+  }
+
   if (size >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
   {
     GNUNET_break (0);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]