Rate limit on unreliable network event can be used to crash FXServer

Hello,

TriggerLatentServerEvent can be used to crash FXServer.

Repro:

  1. Start FXServer (3352)
  2. Connect to the server
  3. Start and open runcode
  4. Run the following in runcode on your client
for i = 1, 2000 do
    TriggerLatentServerEvent('mdr', 1) 
end

You will get kicked for “Unreliable network event overflow.” and FXServer will crash.

Increasing event rate limits to ridiculously high value will not crash the server because client is not kicked, the crash occurs when the client gets kicked.

Was this done after the latest fix for this?

Yes, the rate limit (the fix) is causing this

Do you happen to have a dump file for a quick look? I suspect the DropClient call runs immediately on svMain instead of on next tick and that leads to a destructed player component.

In server/crashes I don’t have any dump but last commit fixed it :+1: