* Null check before UseCircuitCode Check or the server crashes on packet loss!
parent
692f4259fb
commit
6362760d30
|
@ -245,7 +245,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
|
||||
// If we've received a use circuit packet, then we need to decode an endpoint proxy, if one exists, before
|
||||
// allowing the RecvBuffer to be overwritten by the next packet.
|
||||
if (packet.Type == PacketType.UseCircuitCode)
|
||||
if (packet != null && packet.Type == PacketType.UseCircuitCode)
|
||||
{
|
||||
epProxy = epSender;
|
||||
if (proxyPortOffset != 0)
|
||||
|
|
Loading…
Reference in New Issue