From: san Date: Mon, 18 Jul 2005 11:54:03 +0000 (+0000) Subject: Fix for bug PAL9508 : CRASH after trying to run inline node with in/out ports of... X-Git-Tag: T2_2_5a~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=918a35cf6cefd859f47bc96284e43930931e3819;p=modules%2Fsuperv.git Fix for bug PAL9508 : CRASH after trying to run inline node with in/out ports of "string" type. --- diff --git a/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx b/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx index b33fa38..46a721c 100644 --- a/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx +++ b/src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx @@ -2733,7 +2733,8 @@ void GraphExecutor::InNode::InOutParametersSet( int nOutParams , cdebug << ThreadNo() << " ArgOut" << i << " " << D.Name << " Done(" << OutDone << ") " << Type << " : " << endl ; if ( !strcmp( Type , "string" ) ) { - D.Value <<= (char *) NULL ; + char* ch = ""; + D.Value <<= (char *) ch; } else if ( !strcmp( Type , "boolean" ) ) { bool b = 0 ;