commit 6373148981c6116778d7d817b36c7979bf5763ba
parent c9121468cdd423045e8061ce33b7c2b1eee6fe0f
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 29 Mar 2025 22:01:10 +0100
add missing rval NULL check (should not happen, but still better to check)
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-purses.c b/src/auditor/taler-helper-auditor-purses.c
@@ -1069,6 +1069,11 @@ handle_purse_deletion (
ps = setup_purse (pc,
purse_pub);
+ if (NULL == ps)
+ {
+ GNUNET_break (0);
+ return GNUNET_SYSERR;
+ }
if (GNUNET_OK !=
TALER_wallet_purse_delete_verify (purse_pub,
purse_sig))