gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 01/02: fix use-after-free


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/02: fix use-after-free
Date: Tue, 17 Sep 2019 12:07:57 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

commit 7914d7c7e304efe9cc84ff6d01e52f6db28f4188
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Sep 16 21:47:51 2019 +0200

    fix use-after-free
---
 src/wire-plugins/plugin_wire_taler-bank.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/wire-plugins/plugin_wire_taler-bank.c 
b/src/wire-plugins/plugin_wire_taler-bank.c
index e1db643d..eed57cb9 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -913,7 +913,7 @@ bhist_cb (void *cls,
     whh->hh = NULL;
     taler_bank_get_history_cancel (NULL,
                                    whh);
-    break;
+    return;
   default:
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Bank failed with HTTP status %u (EC: %u)\n",
@@ -929,9 +929,8 @@ bhist_cb (void *cls,
     whh->hh = NULL;
     taler_bank_get_history_cancel (NULL,
                                    whh);
-    break;
+    return;
   }
-  whh->hh = NULL;
 }
 
 

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



reply via email to

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