gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix SIGSEGV in TALER_MHD_reply_l


From: gnunet
Subject: [taler-exchange] branch master updated: fix SIGSEGV in TALER_MHD_reply_legal
Date: Mon, 24 Jun 2024 21:17:28 +0200

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

ivan-avalos pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 6de875a39 fix SIGSEGV in TALER_MHD_reply_legal
6de875a39 is described below

commit 6de875a39decea456210ba87e9305cf260e04a3d
Author: Iván Ávalos <avalos@disroot.org>
AuthorDate: Mon Jun 24 13:17:24 2024 -0600

    fix SIGSEGV in TALER_MHD_reply_legal
---
 src/mhd/mhd_legal.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index df6b01d86..9b80bf41b 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -202,6 +202,9 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
   char dat[128];
   char *langs;
 
+  t = NULL;
+  langs = NULL;
+
   a = GNUNET_TIME_relative_to_absolute (MAX_TERMS_CACHING);
   m = GNUNET_TIME_absolute_to_timestamp (a);
   /* Round up to next full day to ensure the expiration
@@ -222,8 +225,6 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
     goto return_t;
   }
 
-  t = NULL;
-  langs = NULL;
   if (NULL != legal)
   {
     const char *mime;

-- 
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]