aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorSean Dague2008-09-09 14:51:30 +0000
committerSean Dague2008-09-09 14:51:30 +0000
commit37557da70666f12089d8db198c86dddfc93c4879 (patch)
tree7fa77f20c111b7c53e17a92388e194f5b2c5244d /OpenSim/Region
parent* Adds OnGenericMessage and SendGenericMessage functionality to IClientAPI. (diff)
downloadopensim-SC_OLD-37557da70666f12089d8db198c86dddfc93c4879.zip
opensim-SC_OLD-37557da70666f12089d8db198c86dddfc93c4879.tar.gz
opensim-SC_OLD-37557da70666f12089d8db198c86dddfc93c4879.tar.bz2
opensim-SC_OLD-37557da70666f12089d8db198c86dddfc93c4879.tar.xz
From: alan_webb@us.ibm.com
Fix an invalid bounds check in Builtin_Commands
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 9405198..a58a480 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -705,7 +705,7 @@ namespace OpenSim.Region.ScriptEngine.Common
705 LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID); 705 LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID);
706 if (SenseList != null) 706 if (SenseList != null)
707 { 707 {
708 if ((number >= 0) && (number <= SenseList.Length)) 708 if ((number >= 0) && (number < SenseList.Length))
709 { 709 {
710 UUID SensedUUID = (UUID)SenseList.Data[number]; 710 UUID SensedUUID = (UUID)SenseList.Data[number];
711 return resolveName(SensedUUID); 711 return resolveName(SensedUUID);