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