mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Fix a race causing a buffer overflow under moderate load
This commit is contained in:
@@ -265,7 +265,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
packet.Header.AckList[i] = ack;
|
||||
i++;
|
||||
m_PendingAcks.Remove(ack);
|
||||
if (i >= 10) // That is how much space there is
|
||||
if (i >= count) // That is how much space there is
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user