commit 391cc7dec5f52b81ba39497310bb2bd9c6d020c5 parent 3c76780d16abacb829d29b4d8ea882852218789d Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 2 Aug 2026 21:08:51 +0200 -fix leak Diffstat:
| M | src/backend/taler-merchant-httpd_auth.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_auth.c b/src/backend/taler-merchant-httpd_auth.c @@ -239,7 +239,10 @@ check_auth_instance (const char *userpass, strlen (userpass), (void**) &tmp)) { + /* GNUNET_STRINGS_base64_decode() always allocates its output + buffer, even when it returns 0; free it to avoid a leak. */ GNUNET_break_op (0); + GNUNET_free (tmp); return GNUNET_SYSERR; } colon = strchr (tmp,