From 6dbec20b2c2f2b013271726d7f9301481b59f2cb Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 15 Feb 2011 11:36:43 +0000 Subject: ported fix from DEV300m98 ( fixes i#115716 & fdo#33964 ) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit based off commit id db2c7179427e113d6decc3be5dc8a2f3cac3da17 Signed-off-by: Michael Meeks Signed-off-by: Caolán McNamara Signed-off-by: Petr Mladek --- basic/source/runtime/dllmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic/source/runtime/dllmgr.cxx') diff --git a/basic/source/runtime/dllmgr.cxx b/basic/source/runtime/dllmgr.cxx index 2afaa35664..1021bcce34 100644 --- a/basic/source/runtime/dllmgr.cxx +++ b/basic/source/runtime/dllmgr.cxx @@ -207,7 +207,7 @@ SbError marshalString( return e; } std::vector< char > * blob = data.newBlob(); - blob->insert(blob->begin(), str.getStr(), str.getStr() + str.getLength()); + blob->insert(blob->begin(), str.getStr(), str.getStr() + str.getLength() + 1 ); *buffer = address(*blob); data.unmarshalStrings.push_back(StringData(variable, *buffer, special)); return ERRCODE_NONE; -- cgit v1.2.3