From owner-freebsd-commit Fri Sep 15 06:54:06 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02179 for freebsd-commit-outgoing; Fri, 15 Sep 1995 06:54:06 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02114 for cvs-all-outgoing; Fri, 15 Sep 1995 06:53:51 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02098 for cvs-lib-outgoing; Fri, 15 Sep 1995 06:53:49 -0700 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA02069 ; Fri, 15 Sep 1995 06:53:41 -0700 Date: Fri, 15 Sep 1995 06:53:41 -0700 From: Peter Wemm Message-Id: <199509151353.GAA02069@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen syslog.c Sender: owner-commit@FreeBSD.org Precedence: bulk peter 95/09/15 06:53:41 Modified: lib/libc/gen syslog.c Log: Fix security bugs with a "new approach", using stdio's powerful buffer control hooks. It is similar to an unrolled multi-part snprintf(), in that a "FILE *" is attached to a string buffer. There is also an optimisation for the case where the syslog format string does not contain %m, which should improve performance of "informational" logging, like from ftpd.