Skip to content

Limit length of incoming messages #45

@8573

Description

@8573

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 an irc-bot bot an excessively-long command argument to crash it, the framework should limit the length of incoming messages to the standard length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Tickets requesting changes other than bug-fixesE-easyDifficulty: LowP-lowImportance: Low

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions