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

LSL subroutine implementation to solve an infinite loop
in llParseString2List() under certain circumstances.
0.6.0-stable
Charles Krinke 2008-06-20 00:00:09 +00:00
parent ccc2adb331
commit d976ee477b
1 changed files with 1 additions and 1 deletions

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))
{