Unconditionally set the slam bit oon all object to agent inventory transfers.
Closes a possible exploit with prims containing other prims0.6.1-post-fixes
parent
d9c05a6def
commit
714ca971d6
|
@ -975,7 +975,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
agentItem.InvType = taskItem.InvType;
|
||||
agentItem.Flags = taskItem.Flags;
|
||||
|
||||
if ((destAgent != taskItem.OwnerID) && Permissions.PropagatePermissions())
|
||||
if (Permissions.PropagatePermissions())
|
||||
{
|
||||
agentItem.BasePermissions = taskItem.NextPermissions;
|
||||
agentItem.CurrentPermissions = taskItem.NextPermissions | 8;
|
||||
|
|
Loading…
Reference in New Issue