View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008791 | GNUnet | util library | public | 2024-05-03 03:55 | 2024-06-08 12:03 |
| Reporter | ulfvonbelow | Assigned To | schanzen | ||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86-64 | OS | Guix System | OS Version | a1d711c92e |
| Product Version | 0.21.1 | ||||
| Fixed in Version | 0.21.2 | ||||
| Summary | 0008791: memory leak in test_gnsrecord_block_expiration | ||||
| Description | biv isn't decref'ed. | ||||
| Steps To Reproduce | 1. ./configure --enable-sanitizer ; make ; make check 2. observe memory leak in test_gnsrecord_block_expiration | ||||
| Additional Information | patch attached | ||||
| Tags | No 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
| ||||
| 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 | |
| 2024-06-08 12:03 | schanzen | Note Added: 0022554 | |
| 2024-06-08 12:03 | schanzen | Status | resolved => closed |