mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user