From owner-cvs-src Mon Feb 10 0:31:31 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17B3837B401; Mon, 10 Feb 2003 00:31:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9FC94400B; Mon, 10 Feb 2003 00:31:29 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1A8VTbv049483; Mon, 10 Feb 2003 00:31:29 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1A8VTGL049471; Mon, 10 Feb 2003 00:31:29 -0800 (PST) Message-Id: <200302100831.h1A8VTGL049471@repoman.freebsd.org> From: Alfred Perlstein Date: Mon, 10 Feb 2003 00:31:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, legacy-committers@FreeBSD.org Subject: cvs commit: src/lib/libc/gen syslog.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alfred 2003/02/10 00:31:28 PST Modified files: lib/libc/gen syslog.c Log: Handle %%m properly in syslog format string. Previously it would expand the %m into the errno and then vfprintf would expand the % and the first character of the strerror(3) return causing possible data corruption. Revision Changes Path 1.29 +13 -3 src/lib/libc/gen/syslog.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message