From 80056abbe71a5946b6f20d33069e12c952af9eeb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 3 Mar 2019 12:15:28 +0000 Subject: [PATCH] OOOPPPSSS --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index da4c1fb032..e039fbf3bd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -4477,7 +4477,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP { lastpos = pos; CreateImprovedTerseBlock(eu.Entity, buf.Data, ref pos, (eu.Flags & PrimUpdateFlags.Textures) != 0); - if (pos <= LLUDPServer.MTU) + if (pos < LLUDPServer.MTU) { tau.Add(eu); ++count; @@ -4491,7 +4491,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP // copy what we done in excess int extralen = pos - lastpos; if(extralen > 0) - Buffer.BlockCopy(newbuf.Data, 18, buf.Data, lastpos, extralen); + Buffer.BlockCopy(buf.Data, lastpos, newbuf.Data, 18, extralen); pos = 18 + extralen;