From 40ed082c24dc424f9502c7c31051d42c03ecfc69 Mon Sep 17 00:00:00 2001 From: mpa Date: Thu, 27 Aug 2015 16:34:51 +0300 Subject: [PATCH] INT PAL 0052843: SIGSEGV when saving study if module which data is present in the study is not in the current session --- src/SALOMEDS/SALOMEDS_Driver_i.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SALOMEDS/SALOMEDS_Driver_i.cxx b/src/SALOMEDS/SALOMEDS_Driver_i.cxx index cd2e26187..43120f9e9 100644 --- a/src/SALOMEDS/SALOMEDS_Driver_i.cxx +++ b/src/SALOMEDS/SALOMEDS_Driver_i.cxx @@ -227,7 +227,8 @@ std::string SALOMEDS_Driver_i::LocalPersistentIDToIOR(const SALOMEDSImpl_SObject if ( !CORBA::is_nil(_driver) ) { CORBA::String_var IOR = _driver->LocalPersistentIDToIOR(so.in(), pers_string.in(), isMultiFile, isASCII); - ior = IOR; + if ( IOR.in() ) + ior = IOR; } so->UnRegister(); SALOMEDS::lock(); -- 2.39.2