diff options
author | peter <peter@FreeBSD.org> | 2014-08-05 01:32:09 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2014-08-05 01:32:09 +0000 |
commit | b2635de2753f7eb19fc8b118f2ac29a3f906e8a3 (patch) | |
tree | 84f7fac7af33a4344e8b326115dcb774b66a40ac /sys/dev/usb/controller/usb_controller.c | |
parent | 4600198022c5ffc16ad7993cec19b51259a9f2bb (diff) | |
download | FreeBSD-src-b2635de2753f7eb19fc8b118f2ac29a3f906e8a3.zip FreeBSD-src-b2635de2753f7eb19fc8b118f2ac29a3f906e8a3.tar.gz |
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 'sys/dev/usb/controller/usb_controller.c')
0 files changed, 0 insertions, 0 deletions