From a6ee06d630f7dfb896129d24b8443cb2d84608f3 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 2 Jul 2016 13:53:17 +0100 Subject: [PATCH] dont send bad profiles to viewer --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1dfd5b4c08..4a48a80645 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -11135,6 +11135,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP GroupProfileData d = m_GroupsModule.GroupProfileRequest(this, groupProfileRequest.GroupData.GroupID); + if(d.GroupID == UUID.Zero) // don't send broken data + return true; + groupProfileReply.GroupData.GroupID = d.GroupID; groupProfileReply.GroupData.Name = Util.StringToBytes256(d.Name); groupProfileReply.GroupData.Charter = Util.StringToBytes1024(d.Charter);