projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another...
[oweals/gnunet.git]
/
src
/
transport
/
plugin_transport_wlan.c
diff --git
a/src/transport/plugin_transport_wlan.c
b/src/transport/plugin_transport_wlan.c
index 01302068083b08975ab59d75e9e29ff15c3b039d..64e2dd0923ce020528cf7859607bae3eb943a22d 100644
(file)
--- a/
src/transport/plugin_transport_wlan.c
+++ b/
src/transport/plugin_transport_wlan.c
@@
-588,6
+588,12
@@
send_ack (void *cls, uint32_t msg_id,
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);