Ack

Thanks
Lennart

> -----Original Message-----
> From: Rafael Odzakow
> Sent: den 22 december 2016 14:26
> To: Lennart Lund <[email protected]>;
> [email protected]
> Cc: [email protected]
> Subject: [PATCH 1 of 1] smf: builds on ubuntu 16.04 cause segmentation fault
> [#2242]
> 
>  osaf/services/saf/smfsv/smfd/SmfUpgradeProcedure.cc |  6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/osaf/services/saf/smfsv/smfd/SmfUpgradeProcedure.cc
> b/osaf/services/saf/smfsv/smfd/SmfUpgradeProcedure.cc
> --- a/osaf/services/saf/smfsv/smfd/SmfUpgradeProcedure.cc
> +++ b/osaf/services/saf/smfsv/smfd/SmfUpgradeProcedure.cc
> @@ -2002,10 +2002,14 @@ SmfUpgradeProcedure::addStepModification
>       SaImmAttrValuesT_2 **attributes;
>       std::list < std::string > objectList;
>       std::list < std::string >::const_iterator objit;
> -     const std::string & auNodeName = i_newStep-
> >getActivationUnitList().front().name;
> +     std::string auNodeName = "";
>       std::multimap<std::string, objectInst>::iterator iter;
>       std::pair<std::multimap<std::string, objectInst>::iterator,
> std::multimap<std::string, objectInst>::iterator> nodeName_mm;
> 
> +        if (i_newStep->getActivationUnitList().size() > 0) {
> +                auNodeName = i_newStep->getActivationUnitList().front().name;
> +        }
> +
>       nodeName_mm = i_objects.equal_range(auNodeName);
> 
>       std::string typeDn   = i_parentType->getTypeDn();

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to