Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit length of incoming messages #45

Open
8573 opened this issue Oct 14, 2018 · 0 comments
Open

Limit length of incoming messages #45

8573 opened this issue Oct 14, 2018 · 0 comments
Labels
C-enhancement Category: Tickets requesting changes other than bug-fixes E-easy Difficulty: Low P-low Importance: Low
Milestone

Comments

@8573
Copy link
Owner

8573 commented Oct 14, 2018

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.

@8573 8573 added this to the v1.0.0 milestone Oct 27, 2018
@8573 8573 added C-enhancement Category: Tickets requesting changes other than bug-fixes P-low Importance: Low E-easy Difficulty: Low labels Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Tickets requesting changes other than bug-fixes E-easy Difficulty: Low P-low Importance: Low
Projects
None yet
Development

No branches or pull requests

1 participant