aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorTeravus Ovares2008-10-19 01:06:50 +0000
committerTeravus Ovares2008-10-19 01:06:50 +0000
commit6362760d303ea728b0033f5d9e5aa600336556ba (patch)
tree2952bc98a9f0bda04d034075d504fe70824dcf43 /OpenSim/Region/ClientStack
parent* Add root agent list/check for mapitem requests. (diff)
downloadopensim-SC_OLD-6362760d303ea728b0033f5d9e5aa600336556ba.zip
opensim-SC_OLD-6362760d303ea728b0033f5d9e5aa600336556ba.tar.gz
opensim-SC_OLD-6362760d303ea728b0033f5d9e5aa600336556ba.tar.bz2
opensim-SC_OLD-6362760d303ea728b0033f5d9e5aa600336556ba.tar.xz
* Null check before UseCircuitCode Check or the server crashes on packet loss!
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 22666f4..3648575 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -245,7 +245,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
245 245
246 // If we've received a use circuit packet, then we need to decode an endpoint proxy, if one exists, before 246 // If we've received a use circuit packet, then we need to decode an endpoint proxy, if one exists, before
247 // allowing the RecvBuffer to be overwritten by the next packet. 247 // allowing the RecvBuffer to be overwritten by the next packet.
248 if (packet.Type == PacketType.UseCircuitCode) 248 if (packet != null && packet.Type == PacketType.UseCircuitCode)
249 { 249 {
250 epProxy = epSender; 250 epProxy = epSender;
251 if (proxyPortOffset != 0) 251 if (proxyPortOffset != 0)