mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Fix a few permissions vulnerability. Owners could cause permissions
escalation on items contained in prims using a hacked viewer
This commit is contained in:
committed by
Melanie
parent
e46c0a0fc9
commit
78605baab3
@@ -600,12 +600,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
item.GroupID = m_part.GroupID;
|
||||
|
||||
if (item.AssetID == UUID.Zero)
|
||||
item.AssetID = it.AssetID;
|
||||
|
||||
lock (m_items)
|
||||
{
|
||||
m_items[item.ItemID] = item;
|
||||
m_inventorySerial++;
|
||||
item.AssetID = m_items[item.ItemID].AssetID;
|
||||
}
|
||||
else if ((InventoryType)item.Type == InventoryType.Notecard)
|
||||
{
|
||||
ScenePresence presence = m_part.ParentGroup.Scene.GetScenePresence(item.OwnerID);
|
||||
}
|
||||
|
||||
if (fireScriptEvents)
|
||||
|
||||
Reference in New Issue
Block a user