freebsd-dev/usr.sbin/syslogd
Ed Schouten 8803b8597a Fix bad logic in iovlist_truncate().
To conform to RFC 5426, this function is intended to truncate messages
if they exceed the message size limits. Unfortunately, the amount of
space was computed the wrong way around, causing messages to be
truncated entirely.

Reported by:	Michael Grimm on stable@
MFC after:	3 days
2018-06-18 06:01:28 +00:00
..
Makefile Fix enough warnings that we can build syslogd on all targets at WARNS=6. 2018-04-07 09:03:51 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
syslog.conf.5 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
syslogd.8 Use proper alphabetic sorting of options. 2018-04-15 08:44:26 +00:00
syslogd.c Fix bad logic in iovlist_truncate(). 2018-06-18 06:01:28 +00:00