mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* Null check before UseCircuitCode Check or the server crashes on packet loss!
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user