summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-07-19 20:29:07 +0000
committerngie <ngie@FreeBSD.org>2017-07-19 20:29:07 +0000
commit9a8d16d28a66fb41f8cca956e48e8bce04968610 (patch)
tree3d01f4691a7ee4bec62a88e76ee807dc7c167bb8 /tools
parent511f7c92ab611743edfe7e1307d7503726c72dda (diff)
downloadFreeBSD-src-9a8d16d28a66fb41f8cca956e48e8bce04968610.zip
FreeBSD-src-9a8d16d28a66fb41f8cca956e48e8bce04968610.tar.gz
MFC r269550:
r269550 (by peter): Check gethostname(2) return code - but even if it succeeds it may not null terminate. Temporarily use "From: $user@$hostname" rather than "From: $user". The latter exposes incompatible behavior if using dma(8). sendmail(8) (and other alternatives) canonify either form on submission (even if masquerading), but dma will leak a non-compliant address to the internet.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud