]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r269550:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Jul 2017 20:44:50 +0000 (20:44 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Jul 2017 20:44:50 +0000 (20:44 +0000)
commitb622c1ef49761d32b7bf9d22a1692d1108cb9754
tree53d830369bfcae52eb2adb8818049252b303b4b1
parent0e653ffc6ab98c7351f50e511206213cdf47d6b5
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@321245 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/pam.d/Makefile
tools/build/mk/OptionalObsoleteFiles.inc