diff options
author | Melanie Thielker | 2010-07-15 20:03:08 +0200 |
---|---|---|
committer | Melanie | 2010-07-20 21:00:56 +0100 |
commit | 78605baab330f850f1b47d205b4041d59080a00c (patch) | |
tree | cb6c0d2b836260cd568b45c5bdc4dca203c080a7 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | adjust DialogModule to only send broadcast alerts to root agents (diff) | |
download | opensim-SC-78605baab330f850f1b47d205b4041d59080a00c.zip opensim-SC-78605baab330f850f1b47d205b4041d59080a00c.tar.gz opensim-SC-78605baab330f850f1b47d205b4041d59080a00c.tar.bz2 opensim-SC-78605baab330f850f1b47d205b4041d59080a00c.tar.xz |
Fix a few permissions vulnerability. Owners could cause permissions
escalation on items contained in prims using a hacked viewer
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 517b387..91d9be3 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -600,12 +600,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
600 | item.GroupID = m_part.GroupID; | 600 | item.GroupID = m_part.GroupID; |
601 | 601 | ||
602 | if (item.AssetID == UUID.Zero) | 602 | if (item.AssetID == UUID.Zero) |
603 | item.AssetID = it.AssetID; | ||
604 | |||
605 | lock (m_items) | ||
606 | { | 603 | { |
607 | m_items[item.ItemID] = item; | 604 | item.AssetID = m_items[item.ItemID].AssetID; |
608 | m_inventorySerial++; | 605 | } |
606 | else if ((InventoryType)item.Type == InventoryType.Notecard) | ||
607 | { | ||
608 | ScenePresence presence = m_part.ParentGroup.Scene.GetScenePresence(item.OwnerID); | ||
609 | } | 609 | } |
610 | 610 | ||
611 | if (fireScriptEvents) | 611 | if (fireScriptEvents) |