diff options
author | UbitUmarov | 2016-08-24 02:21:33 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-24 02:21:33 +0100 |
commit | 09e8289c6814c44560746a6ca688f93a92771b38 (patch) | |
tree | 8db8150811d6e782aa0636c5ee6007d171d1c650 /OpenSim/Capabilities | |
parent | potencial null ref (diff) | |
download | opensim-SC_OLD-09e8289c6814c44560746a6ca688f93a92771b38.zip opensim-SC_OLD-09e8289c6814c44560746a6ca688f93a92771b38.tar.gz opensim-SC_OLD-09e8289c6814c44560746a6ca688f93a92771b38.tar.bz2 opensim-SC_OLD-09e8289c6814c44560746a6ca688f93a92771b38.tar.xz |
potencial null ref
Diffstat (limited to 'OpenSim/Capabilities')
-rw-r--r-- | OpenSim/Capabilities/LLSDStreamHandler.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/LLSDStreamHandler.cs b/OpenSim/Capabilities/LLSDStreamHandler.cs index 4fa1153..4f1b10a 100644 --- a/OpenSim/Capabilities/LLSDStreamHandler.cs +++ b/OpenSim/Capabilities/LLSDStreamHandler.cs | |||
@@ -61,6 +61,9 @@ namespace OpenSim.Framework.Capabilities | |||
61 | // OpenMetaverse.StructuredData.LLSDParser.DeserializeXml(new XmlTextReader(request)); | 61 | // OpenMetaverse.StructuredData.LLSDParser.DeserializeXml(new XmlTextReader(request)); |
62 | 62 | ||
63 | Hashtable hash = (Hashtable) LLSD.LLSDDeserialize(request); | 63 | Hashtable hash = (Hashtable) LLSD.LLSDDeserialize(request); |
64 | if(hash == null) | ||
65 | return new byte[0]; | ||
66 | |||
64 | TRequest llsdRequest = new TRequest(); | 67 | TRequest llsdRequest = new TRequest(); |
65 | LLSDHelpers.DeserialiseOSDMap(hash, llsdRequest); | 68 | LLSDHelpers.DeserialiseOSDMap(hash, llsdRequest); |
66 | 69 | ||