diff options
author | Noel Power <noel.power@novell.com> | 2011-02-14 13:57:06 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-02-14 13:58:28 +0000 |
commit | 7e907f899d837e992522480855b17a35af1cd588 (patch) | |
tree | 205c549044fdea7b24fa8da25fbaac7b73d29d4b /basic | |
parent | 8a3aef5c080eaadfcb88f1b86699466f9c5fdb50 (diff) |
ported fix from DEV300m98 ( fixes i#115716 & fdo#33964 )
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/dllmgr-x64.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-x86.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx index aa3ce5ea3e02..87be0587bb81 100644 --- a/basic/source/runtime/dllmgr-x64.cxx +++ b/basic/source/runtime/dllmgr-x64.cxx @@ -196,7 +196,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; diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx index 09aee07fc934..64419c9e3b6e 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; |