commit 34e3f08898e8c4fe5e30853a77f2c856d247baaf
parent 287f1c2005c030dc0c74027f03d92c2cebbbb454
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 29 Jun 2026 23:08:56 +0200
add missing error handling
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
@@ -2514,6 +2514,12 @@ purse_deposit_cb (
qs = TALER_ARL_get_denomination_info (denom_pub,
&issue,
&dh);
+ if (0 > qs)
+ {
+ GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs);
+ cc->qs = qs;
+ return GNUNET_SYSERR;
+ }
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
{
qs = report_row_inconsistency ("purse-deposits",