[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix NPE on certain errors
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix NPE on certain errors |
Date: |
Wed, 22 Nov 2023 23:02:27 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 6b9d61a0 -fix NPE on certain errors
6b9d61a0 is described below
commit 6b9d61a09814747667e11dde5cfe4193c6aacdfa
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 22 22:02:24 2023 +0100
-fix NPE on certain errors
---
src/exchange/taler-exchange-httpd_age-withdraw_reveal.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
index 9b9f1cb8..632368de 100644
--- a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
+++ b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
@@ -597,8 +597,9 @@ TEH_handler_age_withdraw_reveal (
} while(0);
GNUNET_JSON_parse_free (spec);
- for (unsigned int i = 0; i<actx.num_coins; i++)
- TALER_blinded_denom_sig_free (&actx.commitment.denom_sigs[i]);
+ if (NULL != actx.commitment.denom_sigs)
+ for (unsigned int i = 0; i<actx.num_coins; i++)
+ TALER_blinded_denom_sig_free (&actx.commitment.denom_sigs[i]);
GNUNET_free (actx.commitment.denom_sigs);
GNUNET_free (actx.commitment.denom_pub_hashes);
GNUNET_free (actx.commitment.denom_serials);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -fix NPE on certain errors,
gnunet <=