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 | db2c7179427e113d6decc3be5dc8a2f3cac3da17 (patch) | |
tree | 826913f96185a678a1d400704a8960e4960bd16f /basic | |
parent | a91ecea2c9e656f35fac086aa2f81d74e9f0898f (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 aa3ce5ea3e..87be0587bb 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 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; |