summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_deposit_confirmation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-03-05 21:41:55 +0100
committerChristian Grothoff <christian@grothoff.org>2021-03-05 21:41:55 +0100
commitca5f0c4d6f2969bfbde9d8cb5fc7f90a95c3d712 (patch)
tree96018c9e83f98bae837c6fd27c594ce6aad2c0d7 /src/lib/auditor_api_deposit_confirmation.c
parent5985f73d4219fd9bbfbc640aeaca409cdf571b27 (diff)
downloadexchange-ca5f0c4d6f2969bfbde9d8cb5fc7f90a95c3d712.tar.gz
exchange-ca5f0c4d6f2969bfbde9d8cb5fc7f90a95c3d712.tar.bz2
exchange-ca5f0c4d6f2969bfbde9d8cb5fc7f90a95c3d712.zip
fix #6786: do not die on bogus URL
Diffstat (limited to 'src/lib/auditor_api_deposit_confirmation.c')
-rw-r--r--src/lib/auditor_api_deposit_confirmation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c
index b2126230..eb84aead 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -360,6 +360,11 @@ TALER_AUDITOR_deposit_confirmation (
dh->cb_cls = cb_cls;
dh->url = TALER_AUDITOR_path_to_url_ (auditor,
"/deposit-confirmation");
+ if (NULL == dh->url)
+ {
+ GNUNET_free (dh);
+ return NULL;
+ }
eh = TALER_AUDITOR_curl_easy_get_ (dh->url);
if ( (NULL == eh) ||