[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: transport: fix memory corruption from in
From: |
gnunet |
Subject: |
[gnunet] branch master updated: transport: fix memory corruption from incorrect variable reference |
Date: |
Sun, 10 Mar 2024 11:34:29 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 54c730acf transport: fix memory corruption from incorrect variable
reference
54c730acf is described below
commit 54c730acf57c9726b5ead14b82ef509c8c385240
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sun Mar 10 11:34:25 2024 +0100
transport: fix memory corruption from incorrect variable reference
---
src/service/transport/gnunet-communicator-tcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/service/transport/gnunet-communicator-tcp.c
b/src/service/transport/gnunet-communicator-tcp.c
index bb6c10166..5e7cd4b01 100644
--- a/src/service/transport/gnunet-communicator-tcp.c
+++ b/src/service/transport/gnunet-communicator-tcp.c
@@ -2075,7 +2075,7 @@ try_handle_plaintext (struct Queue *queue)
}
finz = *fin;
memset (&finz.hmac, 0, sizeof(finz.hmac));
- calculate_hmac (&queue->in_hmac, &rekeyz, sizeof(rekeyz), &tmac);
+ calculate_hmac (&queue->in_hmac, &finz, sizeof(finz), &tmac);
if (0 != memcmp (&tmac, &fin->hmac, sizeof(tmac)))
{
GNUNET_break_op (0);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: transport: fix memory corruption from incorrect variable reference,
gnunet <=