diff options
author | Michael Forney <mforney@mforney.org> | 2019-11-20 01:13:29 -0800 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-21 16:14:10 -0500 |
commit | 113a33bdf883602313fa33fd323fe1af80b1c620 (patch) | |
tree | 5a915d60b242406a78693fe728c792cec53e3700 /LICENSE | |
parent | Avoid a couple VLAs with constant size (diff) | |
download | pounce-113a33bdf883602313fa33fd323fe1af80b1c620.tar.gz pounce-113a33bdf883602313fa33fd323fe1af80b1c620.zip |
Use a fixed buffer size for SASL PLAIN authentication
handleAuthenticate only sends a single AUTHENTICATE message, so according to https://ircv3.net/specs/extensions/sasl-3.1.html, its maximum length is 399. So, we know that the authentication string can be at most 299 bytes.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions