[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 03/04: Transport: Fixed null pointer in address iteration code
From: |
gnunet |
Subject: |
[gnunet] 03/04: Transport: Fixed null pointer in address iteration code to start validation. |
Date: |
Mon, 30 Oct 2023 15:04:57 +0100 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
commit 7da79377a7a22ab2ed47ba1117818f95bcf3dfa0
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Mon Oct 30 13:51:57 2023 +0100
Transport: Fixed null pointer in address iteration code to start validation.
---
src/service/transport/gnunet-service-transport.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/service/transport/gnunet-service-transport.c
b/src/service/transport/gnunet-service-transport.c
index 54d42fd51..445faf9f6 100644
--- a/src/service/transport/gnunet-service-transport.c
+++ b/src/service/transport/gnunet-service-transport.c
@@ -8669,7 +8669,7 @@ handle_hello_for_incoming (void *cls,
builder = GNUNET_HELLO_builder_from_msg (hello);
pid = GNUNET_new (struct GNUNET_PeerIdentity);
GNUNET_HELLO_builder_iterate (builder,
- (struct GNUNET_PeerIdentity *) peer,
+ pid,
hello_for_incoming_cb,
(struct GNUNET_PeerIdentity *) peer);
GNUNET_free (pid);
@@ -11307,9 +11307,9 @@ handle_hello_for_client (void *cls,
builder = GNUNET_HELLO_builder_from_msg (hello);
pid = GNUNET_new (struct GNUNET_PeerIdentity);
GNUNET_HELLO_builder_iterate (builder,
- (struct GNUNET_PeerIdentity *) peer,
+ pid,
hello_for_client_cb,
- NULL);
+ (struct GNUNET_PeerIdentity *) peer);
GNUNET_free (pid);
GNUNET_HELLO_builder_free (builder);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.