From owner-freebsd-security Wed Sep 6 12:49:44 1995 Return-Path: security-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id MAA03094 for security-outgoing; Wed, 6 Sep 1995 12:49:44 -0700 Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id MAA03060 for ; Wed, 6 Sep 1995 12:49:42 -0700 Received: from localhost (localhost [127.0.0.1]) by precipice.shockwave.com (8.6.12/8.6.12) with SMTP id MAA12942 for ; Wed, 6 Sep 1995 12:49:07 -0700 Message-Id: <199509061949.MAA12942@precipice.shockwave.com> To: security@freebsd.org Subject: syslog.c revisited Date: Wed, 06 Sep 1995 12:49:07 -0700 From: Paul Traina Sender: security-owner@freebsd.org Precedence: bulk I finally got off my butt and put this together. It's more anal than Eric's proposed fix..actually, it's insanely anal, but then again, syslog performance isn't exactly critical. The main difference between this and the previous version is the addition of overflow checking and improved checking of the fmt_cpy code. There is -no- attempt at optimization here, and in fact, there are several basicly useless checks in this code. It's not designed to be efficient, it's designed to be a 707. Please review/comment, it is my intent to dump this into 2.2 and as David to include in 2.1 once I excercise it and test it on thud. Paul