summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-07-19 20:44:50 +0000
committerngie <ngie@FreeBSD.org>2017-07-19 20:44:50 +0000
commitd33c387645a6c73f935bca119c75d1fea6ee0b2c (patch)
tree53d830369bfcae52eb2adb8818049252b303b4b1 /lib
parent9a8d16d28a66fb41f8cca956e48e8bce04968610 (diff)
downloadFreeBSD-src-d33c387645a6c73f935bca119c75d1fea6ee0b2c.zip
FreeBSD-src-d33c387645a6c73f935bca119c75d1fea6ee0b2c.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 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud