mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +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.