[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -handle NULL nicely
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -handle NULL nicely |
Date: |
Mon, 23 Aug 2021 08:31:03 +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 bbce483b -handle NULL nicely
bbce483b is described below
commit bbce483ba0fc2b0aa832c47bfa949481eea3bf98
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Aug 23 08:31:01 2021 +0200
-handle NULL nicely
---
src/util/iban.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/util/iban.c b/src/util/iban.c
index 7cf92849..efd8c428 100644
--- a/src/util/iban.c
+++ b/src/util/iban.c
@@ -226,6 +226,8 @@ TALER_iban_validate (const char *iban)
unsigned int i;
unsigned int j;
+ if (NULL == iban)
+ return GNUNET_strdup ("(null) is not a valid IBAN");
len = strlen (iban);
if (len < 4)
return GNUNET_strdup ("IBAN number too short to be valid");
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -handle NULL nicely,
gnunet <=