summaryrefslogtreecommitdiff
path: root/basic/source/runtime/dllmgr.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-02-15 11:36:43 +0000
committerPetr Mladek <pmladek@suse.cz>2011-02-15 14:53:41 +0100
commit6dbec20b2c2f2b013271726d7f9301481b59f2cb (patch)
tree28fe0f545751ec76d6b42f816c9d36e2aa729a52 /basic/source/runtime/dllmgr.cxx
parent8e79917efdcffd70b9bc6b66ea10f811980e44cf (diff)
ported fix from DEV300m98 ( fixes i#115716 & fdo#33964 )
based off commit id db2c7179427e113d6decc3be5dc8a2f3cac3da17 Signed-off-by: Michael Meeks <michael.meeks@novell.com> Signed-off-by: Caolán McNamara <caolanm@redhat.com> Signed-off-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'basic/source/runtime/dllmgr.cxx')
-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;