diff options
Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted
Diffstat (limited to 'OpenSim/Framework/PacketPool.cs')
-rw-r--r-- | OpenSim/Framework/PacketPool.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs index 7b67f0b..31548a0 100644 --- a/OpenSim/Framework/PacketPool.cs +++ b/OpenSim/Framework/PacketPool.cs | |||
@@ -110,9 +110,10 @@ namespace OpenSim.Framework | |||
110 | return packet; | 110 | return packet; |
111 | } | 111 | } |
112 | 112 | ||
113 | private byte[] decoded_header = new byte[10]; | 113 | // private byte[] decoded_header = new byte[10]; |
114 | private PacketType GetType(byte[] bytes) | 114 | private PacketType GetType(byte[] bytes) |
115 | { | 115 | { |
116 | byte[] decoded_header = new byte[10 + 8]; | ||
116 | ushort id; | 117 | ushort id; |
117 | libsecondlife.PacketFrequency freq; | 118 | libsecondlife.PacketFrequency freq; |
118 | 119 | ||