exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 35133c1e67f67fe53329cb935824aed00c364a3f
parent 1cc87bf9fe868b10ba7ddc93a9bbac7407107b6a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 22 Aug 2021 17:41:30 +0200

-fix segv

Diffstat:
Msrc/bank-lib/fakebank.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c @@ -2094,7 +2094,7 @@ handle_credit_history (struct TALER_FAKEBANK_Handle *h, uint64_t dir; bool skip = true; - overflow = (t->row_id != ha.start_idx); + overflow = ( (NULL != t) && (t->row_id != ha.start_idx) ); dir = (0 > ha.delta) ? (h->ram_limit - 1) : 1; /* If account does not match, linear scan for first matching account. */