From 1557b78d67b579958931976e58f3a023911bcb5d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 25 Jul 2017 04:04:55 +0100 Subject: add missing session ID verification --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 861b79e..a1c8b22 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -6447,6 +6447,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP { ParcelBuyPassPacket ParcelBuyPass = (ParcelBuyPassPacket)Packet; + + if(SessionId != ParcelBuyPass.AgentData.SessionID) + return false; ParcelBuyPass ParcelBuyPassHandler = OnParcelBuyPass; if (ParcelBuyPassHandler != null) -- cgit v1.1