aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorlbsa712008-01-02 12:12:36 +0000
committerlbsa712008-01-02 12:12:36 +0000
commit459a4b0bb5fcb5e1d449825a8731f810be680dbd (patch)
tree354aca3009e761cf07bb65beffbe526a3e435728 /OpenSim/Framework
parent* Did a bit of estate work. Added some fields to EstateSettings.xml for est... (diff)
downloadopensim-SC-459a4b0bb5fcb5e1d449825a8731f810be680dbd.zip
opensim-SC-459a4b0bb5fcb5e1d449825a8731f810be680dbd.tar.gz
opensim-SC-459a4b0bb5fcb5e1d449825a8731f810be680dbd.tar.bz2
opensim-SC-459a4b0bb5fcb5e1d449825a8731f810be680dbd.tar.xz
* Fixed an issue where the PacketPool would ZeroDecodeCommand into a too small buffer.
The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/PacketPool.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 2b33d0b..c65037f 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -68,9 +68,10 @@ namespace OpenSim.Framework
68 return packet; 68 return packet;
69 } 69 }
70 70
71 private byte[] decoded_header = new byte[10];
72 private PacketType GetType(byte[] bytes) 71 private PacketType GetType(byte[] bytes)
73 { 72 {
73 byte[] decoded_header = new byte[10+8];
74
74 ushort id; 75 ushort id;
75 libsecondlife.PacketFrequency freq; 76 libsecondlife.PacketFrequency freq;
76 77