diff options
Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/PacketPool.cs | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs b/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs index 48b1f3d..36a2cbf 100644 --- a/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs +++ b/OpenSim/Framework/Communications/Capabilities/LLSDInventoryItem.cs | |||
@@ -48,7 +48,6 @@ namespace OpenSim.Region.Capabilities | |||
48 | public string name; | 48 | public string name; |
49 | public string desc; | 49 | public string desc; |
50 | public int created_at; | 50 | public int created_at; |
51 | |||
52 | } | 51 | } |
53 | 52 | ||
54 | [LLSDMap] | 53 | [LLSDMap] |
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs index 7b67f0b..31548a0 100644 --- a/OpenSim/Framework/PacketPool.cs +++ b/OpenSim/Framework/PacketPool.cs | |||
@@ -110,9 +110,10 @@ namespace OpenSim.Framework | |||
110 | return packet; | 110 | return packet; |
111 | } | 111 | } |
112 | 112 | ||
113 | private byte[] decoded_header = new byte[10]; | 113 | // private byte[] decoded_header = new byte[10]; |
114 | private PacketType GetType(byte[] bytes) | 114 | private PacketType GetType(byte[] bytes) |
115 | { | 115 | { |
116 | byte[] decoded_header = new byte[10 + 8]; | ||
116 | ushort id; | 117 | ushort id; |
117 | libsecondlife.PacketFrequency freq; | 118 | libsecondlife.PacketFrequency freq; |
118 | 119 | ||