commit e921635d93ef69c7d847dbd7584723c3c3f976d1
parent ae8edabb8d25d473acf8f0319daa6e2d9583726d
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 12 Jul 2026 21:49:43 +0200
add missing NULL check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bank-lib/fakebank_twg_get_transfers.c b/src/bank-lib/fakebank_twg_get_transfers.c
@@ -118,7 +118,7 @@ TALER_FAKEBANK_twg_get_transfers_ (
bool skip = true;
dir = (0 > limit) ? (h->ram_limit - 1) : 1;
- overflow = (t->row_id != offset);
+ overflow = (NULL != t) && (t->row_id != offset);
/* If account does not match, linear scan for
first matching account. */
while ( (! overflow) &&