aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
diff options
context:
space:
mode:
authorDiva Canto2015-06-04 19:57:01 -0700
committerDiva Canto2015-06-04 19:57:01 -0700
commit52d9ea1cee1688352f54d01032d82c9480c1bd3d (patch)
tree7b57b92ecf0b6733b2b28b14e2784a95f505c666 /OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
parentMantis #7536. This may alleviate the side effects of broken SceneObjects XML.... (diff)
downloadopensim-SC-52d9ea1cee1688352f54d01032d82c9480c1bd3d.zip
opensim-SC-52d9ea1cee1688352f54d01032d82c9480c1bd3d.tar.gz
opensim-SC-52d9ea1cee1688352f54d01032d82c9480c1bd3d.tar.bz2
opensim-SC-52d9ea1cee1688352f54d01032d82c9480c1bd3d.tar.xz
Mantis #7603 -- bad folders in inventory could produce null pointer exception. Thanks for the line numbers in the exception trace.
Diffstat (limited to 'OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs')
-rw-r--r--OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
index 7618c3d..1ad543b 100644
--- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
+++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs
@@ -638,7 +638,7 @@ namespace OpenSim.Capabilities.Handlers
638 638
639 // The inventory server isn't sending FolderID in the collection... 639 // The inventory server isn't sending FolderID in the collection...
640 // Must fetch it individually 640 // Must fetch it individually
641 if (contents.FolderID == UUID.Zero) 641 else if (contents.FolderID == UUID.Zero)
642 { 642 {
643 InventoryFolderBase containingFolder = new InventoryFolderBase(); 643 InventoryFolderBase containingFolder = new InventoryFolderBase();
644 containingFolder.ID = freq.folder_id; 644 containingFolder.ID = freq.folder_id;