From 91569e00a0a4f9b9124979b73e00a4e88020c6cd Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 26 Feb 2019 01:16:30 +0000 Subject: buffers in pool have no data, better mk that clear --- OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs index 7f6a292..5fa4637 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs @@ -205,6 +205,7 @@ namespace OpenMetaverse if (m_udpBuffersPoolPtr < 999) { buf.RemoteEndPoint = null; + buf.DataLength = 0; m_udpBuffersPoolPtr++; m_udpBuffersPool[m_udpBuffersPoolPtr] = buf; } -- cgit v1.1