Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted
parent
20473af892
commit
f61ea1998e
|
@ -48,7 +48,6 @@ namespace OpenSim.Region.Capabilities
|
|||
public string name;
|
||||
public string desc;
|
||||
public int created_at;
|
||||
|
||||
}
|
||||
|
||||
[LLSDMap]
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue