aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-14 16:06:06 +0000
committerJustin Clark-Casey (justincc)2011-11-14 16:06:06 +0000
commitff36a1bc7bcd1d0fe5aecb4c5358dbb072c7ff6e (patch)
tree236dd34deb3a8cc1259dcd37a51f5f88d8d79a22 /OpenSim/Region/ClientStack/Linden/UDP
parentDo a ScenePresence null check in HGMessageTransferModule.SendIMToScene() to s... (diff)
downloadopensim-SC_OLD-ff36a1bc7bcd1d0fe5aecb4c5358dbb072c7ff6e.zip
opensim-SC_OLD-ff36a1bc7bcd1d0fe5aecb4c5358dbb072c7ff6e.tar.gz
opensim-SC_OLD-ff36a1bc7bcd1d0fe5aecb4c5358dbb072c7ff6e.tar.bz2
opensim-SC_OLD-ff36a1bc7bcd1d0fe5aecb4c5358dbb072c7ff6e.tar.xz
If a friends identifier which is too short is given to HGFriendsModule.GetOnlineFriends() then spit out a warning rather than failing on the String.Substring().
This is to progress http://opensimulator.org/mantis/view.php?id=5789
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 626ebb5..133da0f 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -11088,6 +11088,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11088 Utils.BytesToString(avatarInterestUpdate.PropertiesData.LanguagesText)); 11088 Utils.BytesToString(avatarInterestUpdate.PropertiesData.LanguagesText));
11089 return true; 11089 return true;
11090 } 11090 }
11091
11091 private bool HandleGrantUserRights(IClientAPI sender, Packet Pack) 11092 private bool HandleGrantUserRights(IClientAPI sender, Packet Pack)
11092 { 11093 {
11093 GrantUserRightsPacket GrantUserRights = 11094 GrantUserRightsPacket GrantUserRights =
@@ -11108,6 +11109,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11108 GrantUserRights.Rights[0].RelatedRights); 11109 GrantUserRights.Rights[0].RelatedRights);
11109 return true; 11110 return true;
11110 } 11111 }
11112
11111 private bool HandlePlacesQuery(IClientAPI sender, Packet Pack) 11113 private bool HandlePlacesQuery(IClientAPI sender, Packet Pack)
11112 { 11114 {
11113 PlacesQueryPacket placesQueryPacket = 11115 PlacesQueryPacket placesQueryPacket =