[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 03/04: Fix use-after-free in some transport tests
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 03/04: Fix use-after-free in some transport tests |
Date: |
Mon, 09 Oct 2017 23:12:05 +0200 |
This is an automated email from the git hooks/post-receive script.
david-barksdale pushed a commit to branch master
in repository gnunet.
commit ecfb2e56fb5e625d4129ee8a7a432afab35e4dec
Author: David Barksdale <address@hidden>
AuthorDate: Mon Oct 9 16:11:15 2017 -0500
Fix use-after-free in some transport tests
---
src/transport/test_transport_testing_restart.c | 3 ++-
src/transport/test_transport_testing_startstop.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/transport/test_transport_testing_restart.c
b/src/transport/test_transport_testing_restart.c
index 595177e03..06275055d 100644
--- a/src/transport/test_transport_testing_restart.c
+++ b/src/transport/test_transport_testing_restart.c
@@ -71,7 +71,8 @@ restart_cb (void *cls)
p->no,
GNUNET_i2s (&p->id));
ret = 0;
- end ();
+ GNUNET_SCHEDULER_add_now (&end,
+ NULL);
}
diff --git a/src/transport/test_transport_testing_startstop.c
b/src/transport/test_transport_testing_startstop.c
index 6ac0250cc..931e922c4 100644
--- a/src/transport/test_transport_testing_startstop.c
+++ b/src/transport/test_transport_testing_startstop.c
@@ -71,7 +71,8 @@ start_cb (void *cls)
p->no,
GNUNET_i2s (&p->id));
ret = 0;
- end ();
+ GNUNET_SCHEDULER_add_now (&end,
+ NULL);
}
--
To stop receiving notification emails like this one, please contact
address@hidden