gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix


From: gnunet
Subject: [taler-exchange] branch master updated: fix
Date: Mon, 17 Feb 2020 18:34:42 +0100

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 ecb39ef5 fix
ecb39ef5 is described below

commit ecb39ef51c90cd1733282fb7c6472da258bf8aca
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Feb 17 18:34:39 2020 +0100

    fix
---
 src/mhd/mhd_legal.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 5af946d8..00a5e678 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -555,6 +555,16 @@ TALER_MHD_legal_load (const struct 
GNUNET_CONFIGURATION_Handle *cfg,
     return NULL;
   }
   d = opendir (path);
+  if (NULL == d)
+  {
+    GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING,
+                               section,
+                               diroption,
+                               "Could not open directory");
+    GNUNET_free (legal->terms_etag);
+    GNUNET_free (legal);
+    return NULL;
+  }
   for (struct dirent *de = readdir (d);
        NULL != de;
        de = readdir (d))

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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