-fix segv
This commit is contained in:
parent
1cc87bf9fe
commit
35133c1e67
@ -2094,7 +2094,7 @@ handle_credit_history (struct TALER_FAKEBANK_Handle *h,
|
|||||||
uint64_t dir;
|
uint64_t dir;
|
||||||
bool skip = true;
|
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;
|
dir = (0 > ha.delta) ? (h->ram_limit - 1) : 1;
|
||||||
/* If account does not match, linear scan for
|
/* If account does not match, linear scan for
|
||||||
first matching account. */
|
first matching account. */
|
||||||
|
Loading…
Reference in New Issue
Block a user