Prevent setting arbitrary groups on your objects.

avinationmerge
Melanie 2010-09-27 02:11:55 +01:00
parent 296cf04ce6
commit 41051b3cc6
1 changed files with 3 additions and 0 deletions

View File

@ -590,6 +590,9 @@ namespace OpenSim.Region.Framework.Scenes
protected internal void HandleObjectGroupUpdate(
IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage)
{
if (!remoteClient.IsGroupMember(GroupID))
return;
SceneObjectGroup group = GetGroupByPrim(objectLocalID);
if (group != null)
{