Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted

This commit is contained in:
MW
2008-03-20 15:33:08 +00:00
parent 20473af892
commit f61ea1998e
3 changed files with 3 additions and 3 deletions

View File

@@ -110,9 +110,10 @@ namespace OpenSim.Framework
return packet;
}
private byte[] decoded_header = new byte[10];
// private byte[] decoded_header = new byte[10];
private PacketType GetType(byte[] bytes)
{
byte[] decoded_header = new byte[10 + 8];
ushort id;
libsecondlife.PacketFrequency freq;