From 5f7d5216452e1eaddaf36c60919d59603320dc90 Mon Sep 17 00:00:00 2001 From: David Freese Date: Fri, 31 Jan 2014 13:01:43 -0600 Subject: [PATCH] XMLRPC seg fault * Segfault possible in xmlrpc execute function when calling stopMacroTimer. Needed to be contained with a REQ(...) macro call. --- src/misc/xmlrpc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/xmlrpc.cxx b/src/misc/xmlrpc.cxx index d1310284..5fd98c5e 100644 --- a/src/misc/xmlrpc.cxx +++ b/src/misc/xmlrpc.cxx @@ -1614,7 +1614,7 @@ public: } XMLRPC_LOCK; - stopMacroTimer(); + REQ(stopMacroTimer); int s0 = 0;//number_of_samples(""); int s1 = 0; @@ -1671,7 +1671,7 @@ public: } XMLRPC_LOCK; - stopMacroTimer(); + REQ(stopMacroTimer); vector bytes = params.getBytestring(0); bytes.push_back(0);