summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-02-15 11:36:43 +0000
committerNoel Power <noel.power@novell.com>2011-02-15 11:36:43 +0000
commit6f0888190f4d1ce0a101eaf9f9642e61c0376999 (patch)
treef8673398fc6b2b8724f598c13d38f7cb2021ef40
parenteab0ecbbd9237f274da64612b76767e3f17abefb (diff)
ported fix from DEV300m98 ( fixes i#115716 & fdo#33964 )
based off commit id db2c7179427e113d6decc3be5dc8a2f3cac3da17 Signed-off-by: Michael Meeks <michael.meeks@novell.com>
-rw-r--r--basic/source/runtime/dllmgr.cxx2
1 files changed, 1 insertions, 1 deletions
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;