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

issue.
avinationmerge
Melanie 2013-01-09 16:01:00 +01:00
parent 7d519fde3b
commit 27b0914681
1 changed files with 1 additions and 1 deletions

View File

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