diff options
author | Noel Power <noel.power@novell.com> | 2011-02-15 11:36:43 +0000 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-02-15 14:53:41 +0100 |
commit | 6dbec20b2c2f2b013271726d7f9301481b59f2cb (patch) | |
tree | 28fe0f545751ec76d6b42f816c9d36e2aa729a52 /basic/source | |
parent | 8e79917efdcffd70b9bc6b66ea10f811980e44cf (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')
-rw-r--r-- | basic/source/runtime/dllmgr.cxx | 2 |
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; |