From 918a35cf6cefd859f47bc96284e43930931e3819 Mon Sep 17 00:00:00 2001 From: san Date: Mon, 18 Jul 2005 11:54:03 +0000 Subject: [PATCH] Fix for bug PAL9508 : CRASH after trying to run inline node with in/out ports of "string" type. --- src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ; -- 2.39.2