aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDr Scofield2009-03-10 15:54:00 +0000
committerDr Scofield2009-03-10 15:54:00 +0000
commitfd9ba29a03150297c99653d25e4d6c015a0fe7d9 (patch)
treeaa4547ab328c5e53c1302fd24e838421c776d91f /OpenSim
parentfixing out-of-sync error in BaseHttpServer (diff)
downloadopensim-SC-fd9ba29a03150297c99653d25e4d6c015a0fe7d9.zip
opensim-SC-fd9ba29a03150297c99653d25e4d6c015a0fe7d9.tar.gz
opensim-SC-fd9ba29a03150297c99653d25e4d6c015a0fe7d9.tar.bz2
opensim-SC-fd9ba29a03150297c99653d25e4d6c015a0fe7d9.tar.xz
From: Alan M Webb <alan_webb@us.ibm.com>
Fix a null reference loophole in ScenePresence.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5831ff4..3ef3f6c 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -718,7 +718,7 @@ namespace OpenSim.Region.Framework.Scenes
718 } 718 }
719 } 719 }
720 720
721 while (m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 60) 721 while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 60)
722 { 722 {
723 SceneObjectGroup g = m_pendingObjects.Dequeue(); 723 SceneObjectGroup g = m_pendingObjects.Dequeue();
724 724