summaryrefslogtreecommitdiff
path: root/basic/source/runtime/dllmgr-x86.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/dllmgr-x86.cxx')
-rw-r--r--basic/source/runtime/dllmgr-x86.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx
index 09aee07fc9..64419c9e3b 100644
--- a/basic/source/runtime/dllmgr-x86.cxx
+++ b/basic/source/runtime/dllmgr-x86.cxx
@@ -203,7 +203,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;