From owner-freebsd-audit Wed Dec 6 8: 1: 2 2000 From owner-freebsd-audit@FreeBSD.ORG Wed Dec 6 08:01:01 2000 Return-Path: Delivered-To: freebsd-audit@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id EF40437B401 for ; Wed, 6 Dec 2000 08:01:00 -0800 (PST) Received: by peitho.fxp.org (Postfix, from userid 1501) id 5A56713612; Wed, 6 Dec 2000 11:01:07 -0500 (EST) Date: Wed, 6 Dec 2000 11:01:07 -0500 From: Chris Faulhaber To: freebsd-audit@FreeBSD.org Subject: Re: libutil diff Message-ID: <20001206110107.D93425@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , freebsd-audit@FreeBSD.org References: <20001206105523.A52977@peitho.fxp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001206105523.A52977@peitho.fxp.org>; from jedgar@fxp.org on Wed, Dec 06, 2000 at 10:55:23AM -0500 Sender: cdf.lists@fxp.org Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 06, 2000 at 10:55:23AM -0500, Chris Faulhaber wrote: > - sprintf(name_cur, "%s-cur", lr->what); > - sprintf(name_max, "%s-max", lr->what); > + snprintf(name_cur, sizeof(name_cur), "%s-cur", lr->what); > + snprintf(name_max, sizeof(name_cur), "%s-max", lr->what); ^^^-- name_max -- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message