From ed972379c278dc979b0545bb94b0d6106bb6a045 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 May 2015 18:20:09 +0000 Subject: -avoid theoretical use after free --- src/transport/plugin_transport_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/plugin_transport_udp.c') diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index ce4d30277..4db28b45c 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1901,7 +1901,7 @@ udp_plugin_send (void *cls, GNUNET_NO); GNUNET_STATISTICS_update (plugin->env->stats, "# UDP, unfragmented bytes payload queued total", - udpw->payload_size, + msgbuf_size, GNUNET_NO); } else -- cgit v1.2.3