[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30380 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30380 - gnunet/src/mesh |
Date: |
Mon, 21 Oct 2013 18:07:58 +0200 |
Author: bartpolot
Date: 2013-10-21 18:07:57 +0200 (Mon, 21 Oct 2013)
New Revision: 30380
Modified:
gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- fix use after free
Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-10-21 15:59:44 UTC
(rev 30379)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-10-21 16:07:57 UTC
(rev 30380)
@@ -794,7 +794,6 @@
static void
connection_cancel_queues (struct MeshConnection *c, int fwd)
{
-
struct MeshFlowControl *fc;
struct MeshPeer *peer;
@@ -2013,7 +2012,6 @@
fwd = peer == get_prev_hop (c);
- connection_cancel_queues (c, !fwd);
if (GNUNET_YES == GMC_is_terminal (c, fwd))
{
/* Local shutdown, no one to notify about this. */
@@ -2021,6 +2019,7 @@
return;
}
send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
+ connection_cancel_queues (c, !fwd);
/* Connection will have at least one pending message
* (the one we just scheduled), so no point in checking whether to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30380 - gnunet/src/mesh,
gnunet <=