Fox a boo-boo in ExtraParams - a packet with no data blocks could crash
the session. Also allow multiple data blocks.0.6.5-rc1
parent
b76405f50a
commit
e4236a4233
|
@ -5713,9 +5713,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
handlerUpdateExtraParams = OnUpdateExtraParams;
|
handlerUpdateExtraParams = OnUpdateExtraParams;
|
||||||
if (handlerUpdateExtraParams != null)
|
if (handlerUpdateExtraParams != null)
|
||||||
{
|
{
|
||||||
handlerUpdateExtraParams(m_agentId, extraPar.ObjectData[0].ObjectLocalID,
|
for (int i = 0 ; i < extraPar.ObjectData.Length ; i++)
|
||||||
extraPar.ObjectData[0].ParamType,
|
{
|
||||||
extraPar.ObjectData[0].ParamInUse, extraPar.ObjectData[0].ParamData);
|
handlerUpdateExtraParams(m_agentId, extraPar.ObjectData[i].ObjectLocalID,
|
||||||
|
extraPar.ObjectData[i].ParamType,
|
||||||
|
extraPar.ObjectData[i].ParamInUse, extraPar.ObjectData[i].ParamData);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PacketType.ObjectDuplicate:
|
case PacketType.ObjectDuplicate:
|
||||||
|
|
Loading…
Reference in New Issue