From af080d1c62f1a2cdc17c3870427f07ad0cf9534f Mon Sep 17 00:00:00 2001
From: Sam Kolb <skolb@lindenlab.com>
Date: Thu, 19 Jun 2008 22:01:35 +0000
Subject: [PATCH] Fixes issue with non-null terminated string

Reviewed by Steve
---
 indra/llxml/llxmlnode.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp
index 1fcacb46a5a..bd465c30f0e 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);
 }
 
-- 
GitLab