Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 00:40:02 -0700 (PDT)
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/20054: ftpd: rotating _PATH_FTPDSTATFILE losts xferlog
Message-ID:  <200007250740.AAA90973@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/20054; it has been noted by GNATS.

From: Peter Pentchev <roam@orbitel.bg>
To: Makoto MATSUSHITA <matusita@jp.freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/20054: ftpd: rotating _PATH_FTPDSTATFILE losts xferlog
Date: Tue, 25 Jul 2000 10:35:44 +0300

 On Mon, Jul 24, 2000 at 10:20:04PM -0700, Makoto MATSUSHITA wrote:
 [snip]
 >  ! 		if (statssyslog)
 >  ! 			syslog(LOG_INFO, buf);
 
 I'd suggest syslog(LOG_INFO, "%s", buf) - no need to create yet
 another potential format-string vulnerability ;)
 
 G'luck,
 Peter Pentchev
 
 -- 
 If this sentence didn't exist, somebody would have invented it.
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007250740.AAA90973>