Prevent a null ref in llGetLinkPrimiteveParams. Still not a fix for the real

issue.
This commit is contained in:
Melanie
2013-01-09 16:01:00 +01:00
parent 7d519fde3b
commit 27b0914681

View File

@@ -8750,7 +8750,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
remaining = GetPrimParams(avatar, rules, ref res);
}
if (remaining != null && remaining.Length > 0)
if ((object)remaining != null && remaining.Length > 0)
{
linknumber = remaining.GetLSLIntegerItem(0);
rules = remaining.GetSublist(1, -1);