aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-18 19:05:24 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-18 19:05:24 +0200
commit000f99e50f0dcbabf594ea90d11ef1af1847ae20 (patch)
tree06bffc2b95bd9b173bc85c8e2a8941f62aaae20d /src/bank-lib/fakebank.c
parent5cec88e87e987d80905e1a9b810c0e77c051f7bf (diff)
-fix segv
Diffstat (limited to 'src/bank-lib/fakebank.c')
-rw-r--r--src/bank-lib/fakebank.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 06bfae0ad..d2fb407ee 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -402,6 +402,8 @@ check_log (struct TALER_FAKEBANK_Handle *h)
{
struct Transaction *t = h->transactions[i];
+ if (NULL == t)
+ continue;
if (t->unchecked)
continue;
switch (t->type)