add missing session ID verification

0.9.0-post-fixes
UbitUmarov 2017-07-25 04:04:55 +01:00
parent 1071c92bb0
commit 1557b78d67
1 changed files with 3 additions and 0 deletions

View File

@ -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)