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

0.6.0-stable
MW 2008-03-20 15:33:08 +00:00
parent 20473af892
commit f61ea1998e
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,6 @@ namespace OpenSim.Region.Capabilities
public string name;
public string desc;
public int created_at;
}
[LLSDMap]

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;

View File

@ -140,7 +140,7 @@ namespace OpenSim.Region.Environment
AgentAssetTransactionModule transactionsModule = new AgentAssetTransactionModule();
if (m_loadedSharedModules.ContainsKey(transactionsModule.Name))
{
m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", xmlRpcMod.Name, "XMLRPCModule");
m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", transactionsModule.Name, "TransactionModule");
}
else
{