diff options
author | Melanie Thielker | 2010-07-15 20:03:08 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-15 20:03:08 +0200 |
commit | 8d2b4b7b487f7a35b610d894c03619e638866473 (patch) | |
tree | 305494398ed0cb21962467d05b2279b4ff2fe1a7 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Preserve attachment data while a prim is in world. Allows attachment (diff) | |
download | opensim-SC_OLD-8d2b4b7b487f7a35b610d894c03619e638866473.zip opensim-SC_OLD-8d2b4b7b487f7a35b610d894c03619e638866473.tar.gz opensim-SC_OLD-8d2b4b7b487f7a35b610d894c03619e638866473.tar.bz2 opensim-SC_OLD-8d2b4b7b487f7a35b610d894c03619e638866473.tar.xz |
Fix a few permissions vulnerability. Owners could cause permissions
escalation on items contained in prims using a hacked viewer
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 87b2d74..b19c443 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4156,6 +4156,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4156 | // objects | 4156 | // objects |
4157 | if ((_nextOwnerMask & (uint)PermissionMask.Copy) == 0) | 4157 | if ((_nextOwnerMask & (uint)PermissionMask.Copy) == 0) |
4158 | _nextOwnerMask |= (uint)PermissionMask.Transfer; | 4158 | _nextOwnerMask |= (uint)PermissionMask.Transfer; |
4159 | |||
4160 | _nextOwnerMask |= (uint)PermissionMask.Move; | ||
4161 | |||
4159 | break; | 4162 | break; |
4160 | } | 4163 | } |
4161 | SendFullUpdateToAllClients(); | 4164 | SendFullUpdateToAllClients(); |