[Libvirt-cim] [PATCH] Fix a crash when std_invokemethod handlers return nonzero

Dan Smith danms at us.ibm.com
Wed Oct 31 21:58:54 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1424066513 28800
# Node ID 05b01d03f0b801afe266d8d012bc464be6a2d165
# Parent  8d634949f520faafd42c3d59add7c20fac39bb88
Fix a crash when std_invokemethod handlers return nonzero

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r 8d634949f520 -r 05b01d03f0b8 std_invokemethod.c
--- a/std_invokemethod.c	Fri Oct 26 08:58:03 2007 -0700
+++ b/std_invokemethod.c	Sun Feb 15 22:01:53 2015 -0800
@@ -112,7 +112,7 @@ CMPIStatus _std_invokemethod(CMPIMethodM
 
         CU_DEBUG("Executing handler for method `%s'", methodname);
         s = h->handler(self, context, results, reference, argsin, argsout);
-        CU_DEBUG("Method `%s' returned %i", s.rc);
+        CU_DEBUG("Method `%s' returned %i", methodname, s.rc);
  exit:
         CMReturnDone(results);
 




More information about the Libvirt-cim mailing list