Jump to content

Home

Crash a server using /say ?


SecretChord

Recommended Posts

Posted

I heard from a friend that it's possible to crash a server by spamming /say or something, I also heard that there's a fix for this. If this is indeed a problem that I should be fixing in my mod, would anyone be so kind as to help me out with a fix :) Thanks.

Posted

No, its not.

 

You need length checking in Cmd_Say_f, G_Say, and G_SayTo. the message should not be longer than MAX_SAY_TEXT (150).

 

There's also a bug with trap_SendServerCommand where if text is larger than 1022 it will crash clients.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...