osaf/services/saf/immsv/immnd/ImmModel.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc 
b/osaf/services/saf/immsv/immnd/ImmModel.cc
--- a/osaf/services/saf/immsv/immnd/ImmModel.cc
+++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
@@ -13179,7 +13179,7 @@ SaAisErrorT ImmModel::setImplementer(std
                 info->mImplementerName.c_str());
             err = SA_AIS_ERR_EXIST;
             goto done;
-        } else {/* obj->mImplementer == info. But check that it is not 
class-impl */
+        } else if(obj->mImplementer) {/* obj->mImplementer == info. But check 
that it is not class-impl */
             if(doIt) {
                 /* Covers the idempotency case. */
                 obj->mImplementer = info;
@@ -13194,7 +13194,7 @@ SaAisErrorT ImmModel::setImplementer(std
                     TRACE_7("ERR_EXIST: Object '%s' already has class 
implementer %s "
                             "conflicts with setting object implementer",
                         objectName.c_str(),
-                        obj->mImplementer->mImplementerName.c_str());
+                        classInfo->mImplementer->mImplementerName.c_str());
                 } else if(immNotWritable()) {
                     if(obj->mImplementer != info) {
                         /* This was not the idempotency case for 
object-implementer set

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to