gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix segv


From: gnunet
Subject: [taler-exchange] branch master updated: -fix segv
Date: Sun, 22 Aug 2021 17:41:36 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 35133c1e -fix segv
35133c1e is described below

commit 35133c1e67f67fe53329cb935824aed00c364a3f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Aug 22 17:41:30 2021 +0200

    -fix segv
---
 src/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
index 6eadb618..f8c704f6 100644
--- 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. */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]