Mantis#1573. Thank you kindly, Mikem for a patch to our

LSL subroutine implementation to solve an infinite loop
in llParseString2List() under certain circumstances.
This commit is contained in:
Charles Krinke
2008-06-20 00:00:09 +00:00
parent ccc2adb331
commit d976ee477b

View File

@@ -3894,7 +3894,7 @@ namespace OpenSim.Region.ScriptEngine.Common
{
int index = str.IndexOf(delimiters[i].ToString());
bool found = index != -1;
if (found)
if (found && String.Empty != delimiters[i])
{
if ((cindex > index) || (cindex == -1))
{