[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: - fixed stack overflow in tng service

From: gnunet
Subject: [gnunet] branch master updated: - fixed stack overflow in tng service
Date: Wed, 24 Nov 2021 17:11:37 +0100

This is an automated email from the git hooks/post-receive script.

t3sserakt pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 36a92f692 - fixed stack overflow in tng service
36a92f692 is described below

commit 36a92f6926bf3752054c0f2b77a04081041c0e9d
Author: t3sserakt <>
AuthorDate: Wed Nov 24 17:11:29 2021 +0100

    - fixed stack overflow in tng service
 src/transport/gnunet-service-tng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/transport/gnunet-service-tng.c 
index cda888dd5..4483536f0 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -5563,7 +5563,7 @@ transmit_cummulative_ack_cb (void *cls)
   struct VirtualLink *vl;
   struct AcknowledgementCummulator *ac = cls;
   char buf[sizeof(struct TransportReliabilityAckMessage)
-           + ac->ack_counter
+           + ac->ack_counter + ac->num_acks
            * sizeof(struct TransportCummulativeAckPayloadP)] GNUNET_ALIGN;
   struct TransportReliabilityAckMessage *ack =
     (struct TransportReliabilityAckMessage *) buf;

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]