* 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.
afrisby
lbsa71 2008-01-02 12:12:36 +00:00
parent 3a83be1721
commit 459a4b0bb5
1 changed files with 2 additions and 1 deletions

View File

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