aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-07-25 04:10:22 +0100
committerUbitUmarov2017-07-25 04:10:22 +0100
commit35b1166ba85cfa2016194a6822c76e00f3faa108 (patch)
tree67fea30cb7c238691f79edaa264f969d274fb94b /OpenSim
parentadd missing session ID verification (diff)
downloadopensim-SC_OLD-35b1166ba85cfa2016194a6822c76e00f3faa108.zip
opensim-SC_OLD-35b1166ba85cfa2016194a6822c76e00f3faa108.tar.gz
opensim-SC_OLD-35b1166ba85cfa2016194a6822c76e00f3faa108.tar.bz2
opensim-SC_OLD-35b1166ba85cfa2016194a6822c76e00f3faa108.tar.xz
add a few more...
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index a1c8b22..6dd3885 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -6399,6 +6399,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6399 ParcelGodMarkAsContentPacket ParcelGodMarkAsContent = 6399 ParcelGodMarkAsContentPacket ParcelGodMarkAsContent =
6400 (ParcelGodMarkAsContentPacket)Packet; 6400 (ParcelGodMarkAsContentPacket)Packet;
6401 6401
6402 if(SessionId != ParcelGodMarkAsContent.AgentData.SessionID || AgentId != ParcelGodMarkAsContent.AgentData.AgentID)
6403 return false;
6404
6402 ParcelGodMark ParcelGodMarkAsContentHandler = OnParcelGodMark; 6405 ParcelGodMark ParcelGodMarkAsContentHandler = OnParcelGodMark;
6403 if (ParcelGodMarkAsContentHandler != null) 6406 if (ParcelGodMarkAsContentHandler != null)
6404 { 6407 {
@@ -6414,6 +6417,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6414 { 6417 {
6415 FreezeUserPacket FreezeUser = (FreezeUserPacket)Packet; 6418 FreezeUserPacket FreezeUser = (FreezeUserPacket)Packet;
6416 6419
6420 if(SessionId != FreezeUser.AgentData.SessionID || AgentId != FreezeUser.AgentData.AgentID)
6421 return false;
6422
6417 FreezeUserUpdate FreezeUserHandler = OnParcelFreezeUser; 6423 FreezeUserUpdate FreezeUserHandler = OnParcelFreezeUser;
6418 if (FreezeUserHandler != null) 6424 if (FreezeUserHandler != null)
6419 { 6425 {
@@ -6431,6 +6437,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6431 EjectUserPacket EjectUser = 6437 EjectUserPacket EjectUser =
6432 (EjectUserPacket)Packet; 6438 (EjectUserPacket)Packet;
6433 6439
6440 if(SessionId != EjectUser.AgentData.SessionID || AgentId != EjectUser.AgentData.AgentID)
6441 return false;
6442
6434 EjectUserUpdate EjectUserHandler = OnParcelEjectUser; 6443 EjectUserUpdate EjectUserHandler = OnParcelEjectUser;
6435 if (EjectUserHandler != null) 6444 if (EjectUserHandler != null)
6436 { 6445 {
@@ -6447,8 +6456,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6447 { 6456 {
6448 ParcelBuyPassPacket ParcelBuyPass = 6457 ParcelBuyPassPacket ParcelBuyPass =
6449 (ParcelBuyPassPacket)Packet; 6458 (ParcelBuyPassPacket)Packet;
6450 6459
6451 if(SessionId != ParcelBuyPass.AgentData.SessionID) 6460 if(SessionId != ParcelBuyPass.AgentData.SessionID || AgentId != ParcelBuyPass.AgentData.AgentID)
6452 return false; 6461 return false;
6453 6462
6454 ParcelBuyPass ParcelBuyPassHandler = OnParcelBuyPass; 6463 ParcelBuyPass ParcelBuyPassHandler = OnParcelBuyPass;