CVS commit: src/usr.sbin/syslogd
"SAITOH Masanobu" <[email protected]> Wed, 5 Aug 2026 08:13:55 +0000
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: msaitoh Date: Wed Aug 5 08:13:55 UTC 2026 Modified Files: src/usr.sbin/syslogd: syslogd.c Log Message: syslogd: Fix buffering of partial klog lines When a /dev/klog read ends without a newline, the remaining data is buffered for the next read. The code mistakenly copied the data into linebuf instead of klog_linebuf, breaking reconstruction of split log messages. Found and fixed by nonaka@ and Kenichi Suzuki at IIJ. To generate a diff of this commit: cvs rdiff -u -r1.155 -r1.156 src/usr.sbin/syslogd/syslogd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.