diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-02-25 00:45:06 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-18 18:45:13 +0100 |
commit | 14285d14a5826eb172e02cf2f6f1ec096add01b0 (patch) | |
tree | c40eb0c4810455b84bd9035444e16f89a4486862 /examples/var_service/inetd/p_log | |
parent | 7c6f2d4207e11ca60964132deb3bd1c4cb583aba (diff) | |
download | busybox-14285d14a5826eb172e02cf2f6f1ec096add01b0.tar.gz |
sendmail: avoid sending mail to wrong addresses
If we get an address we cannot parse properly, we currently just strip
the unknown characters and still try to send it. This is considered
harmful as the resulting address may still be valid but different from
what the user originally intended.
Instead, skip sending to an address we cannot fully understand and
print the characters what we have scanned so far. Leading and trailing
whitespace is allowed and silently stripped.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/var_service/inetd/p_log')
0 files changed, 0 insertions, 0 deletions