From af080d1c62f1a2cdc17c3870427f07ad0cf9534f Mon Sep 17 00:00:00 2001 From: Sam Kolb Date: Thu, 19 Jun 2008 22:01:35 +0000 Subject: Fixes issue with non-null terminated string Reviewed by Steve --- indra/llxml/llxmlnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp index 1fcacb46a5..bd465c30f0 100644 --- a/indra/llxml/llxmlnode.cpp +++ b/indra/llxml/llxmlnode.cpp @@ -492,7 +492,7 @@ void XMLCALL XMLData(void *userData, return; } } - value.append(LLString(s, 0, len)); + value.append(std::string(s, len)); current_node->setValue(value); } -- cgit v1.2.3