Limit length of incoming messages #45
Labels
C-enhancement
Category: Tickets requesting changes other than bug-fixes
E-easy
Difficulty: Low
P-low
Importance: Low
Milestone
Per the standards, IRC messages are limited to 512 bytes, including the command name (e.g.,
PRIVMSG
) and the CR-LF line termination sequence (but excluding IRCv3 tags, if I recall correctly). In case not all IRC daemons respect this and someone tries to feed anirc-bot
bot an excessively-long command argument to crash it, the framework should limit the length of incoming messages to the standard length.The text was updated successfully, but these errors were encountered: