potencial null ref

This commit is contained in:
UbitUmarov
2016-08-24 02:21:33 +01:00
parent f9f35e5049
commit 09e8289c68

View File

@@ -61,6 +61,9 @@ namespace OpenSim.Framework.Capabilities
// OpenMetaverse.StructuredData.LLSDParser.DeserializeXml(new XmlTextReader(request));
Hashtable hash = (Hashtable) LLSD.LLSDDeserialize(request);
if(hash == null)
return new byte[0];
TRequest llsdRequest = new TRequest();
LLSDHelpers.DeserialiseOSDMap(hash, llsdRequest);