mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
The smtpsrv fuzzer doesn't handle DATA commands particularly well: it will continue to read but will skip lines that have STARTTLS as content, and only really care for the first line due to a bug. This patch fixes the handling, and moves the logic to a separate function for readability.