Date: Sat, 19 Jun 2004 03:28:42 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c Message-ID: <200406190328.i5J3SgLZ041148@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2004-06-19 03:28:42 UTC
FreeBSD src repository
Modified files:
usr.sbin/newsyslog newsyslog.c
Log:
Fix the check for a "duplicate filename to compress", so that we're checking
the *filename* and not the pid_file(!). Stupid brain-fault on my part.
This could cause a segfault under -neworder if newsyslog had to rotate
multiple files, and later ones had specifed the 'N' flag.
Bug first reported by: le
MFC after: 3 days
Revision Changes Path
1.94 +1 -1 src/usr.sbin/newsyslog/newsyslog.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406190328.i5J3SgLZ041148>
