mail: Segmentation fault when run with unexpected parameters

Sergey <[email protected]> Tue, 27 May 2025 23:28:47 +0400
Newsgroups gmane.comp.gnu.mailutils.bugs
Message-ID <[email protected]>
Hello.

Sorry, I can't check with the latest version now.

$ echo test | mail [email protected] -- -f'<>'
Segmentation fault

Segmentation fault happens with 3.17.90 and 3.15.

3.10 is working correctly:

$ echo test | mail [email protected] -- -f'<>'
mail: cannot send message: Process exited with a non-zero status

-- 
Regards, Sergey