Fix a race causing a buffer overflow under moderate load
parent
80d8e2889e
commit
76d8cceb92
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue