summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/div.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2003-05-04 22:05:40 +0000
committergshapiro <gshapiro@FreeBSD.org>2003-05-04 22:05:40 +0000
commite3834d7ef2dcdd8ab82afcb3a6a3e328d5fbdbdf (patch)
treec9a40f6dfd63993b6969edfbb3054f4c4c34408f /lib/libc/stdlib/div.c
parent292bedae8d6cef9051b3b692d2db8a401d31c927 (diff)
downloadFreeBSD-src-e3834d7ef2dcdd8ab82afcb3a6a3e328d5fbdbdf.zip
FreeBSD-src-e3834d7ef2dcdd8ab82afcb3a6a3e328d5fbdbdf.tar.gz
Cleanup hostname matching in syslogd:
1. Hostnames were not treated case insensitively in all cases. 2. The method for stripping hostnames when reading the syslog.conf differed from that when finding the hostname of an incoming request. This lead to a broken match check. In my case, it meant I had to have '@scooter.smi.example.com.example.com' to have 'logger.example.com' properly save messages from 'scooter.smi.sendmail.com'. 3. Add paranoia to cfline() such that it doesn't try to access memory outside of the bounds of the f_host string. 4. While I am here, get rid of an outdated comment, argv[{0,1,2}] are now checked for NULL after the strdup() calls. Reviewed by: dwmalone MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud