diff options
author | Teravus Ovares | 2008-10-19 01:06:50 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-10-19 01:06:50 +0000 |
commit | 6362760d303ea728b0033f5d9e5aa600336556ba (patch) | |
tree | 2952bc98a9f0bda04d034075d504fe70824dcf43 /OpenSim/Region | |
parent | * Add root agent list/check for mapitem requests. (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 |
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) |