View Issue Details

IDProjectCategoryView StatusLast Update
0008791GNUnetutil librarypublic2024-05-05 14:12
Reporterulfvonbelow Assigned Toschanzen  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Platformx86-64OSGuix SystemOS Versiona1d711c92e
Product Version0.21.1 
Fixed in Version0.21.2 
Summary0008791: memory leak in test_gnsrecord_block_expiration
Descriptionbiv isn't decref'ed.
Steps To Reproduce1. ./configure --enable-sanitizer ; make ; make check
2. observe memory leak in test_gnsrecord_block_expiration
Additional Informationpatch attached
TagsNo tags attached.
Attached Files
0001-util-fix-memory-leak-in-test_crypto_blind.patch (883 bytes)   
From 62d30b504929893f07439c4772eb3cf90ffe2739 Mon Sep 17 00:00:00 2001
From: ulfvonbelow <striness@tilde.club>
Date: Thu, 2 May 2024 19:29:59 -0500
Subject: [PATCH] util: fix memory leak in test_crypto_blind.

---
 src/lib/util/test_crypto_blind.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/util/test_crypto_blind.c b/src/lib/util/test_crypto_blind.c
index d7efd79ea..1b256fca3 100644
--- a/src/lib/util/test_crypto_blind.c
+++ b/src/lib/util/test_crypto_blind.c
@@ -77,6 +77,7 @@ main (int argc,
                                                  sig,
                                                  "hello",
                                                  5));
+  GNUNET_CRYPTO_blinding_input_values_decref (biv);
   GNUNET_CRYPTO_blinded_sig_decref (bsig);
   GNUNET_CRYPTO_unblinded_sig_decref (sig);
   GNUNET_CRYPTO_blinded_message_decref (bm);
-- 
2.41.0

Activities

schanzen

2024-05-05 14:12

administrator   ~0022346

applied

Issue History

Date Modified Username Field Change
2024-05-03 03:55 ulfvonbelow New Issue
2024-05-03 03:55 ulfvonbelow File Added: 0001-util-fix-memory-leak-in-test_crypto_blind.patch
2024-05-05 14:12 schanzen Assigned To => schanzen
2024-05-05 14:12 schanzen Status new => resolved
2024-05-05 14:12 schanzen Resolution open => fixed
2024-05-05 14:12 schanzen Fixed in Version => 0.21.2
2024-05-05 14:12 schanzen Note Added: 0022346