From owner-cvs-other Mon Apr 24 20:41:26 1995 Return-Path: cvs-other-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA10421 for cvs-other-outgoing; Mon, 24 Apr 1995 20:41:26 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id UAA10409 ; Mon, 24 Apr 1995 20:41:23 -0700 Received: from freefall.cdrom.com (freefall.cdrom.com [192.216.222.4]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id UAA21144; Mon, 24 Apr 1995 20:43:27 -0700 Received: from localhost (localhost [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id UAA10356 ; Mon, 24 Apr 1995 20:40:59 -0700 X-Authentication-Warning: freefall.cdrom.com: Host localhost didn't use HELO protocol To: Bruce Evans cc: CVS-commiters@time.cdrom.com, cvs-other@time.cdrom.com, jkh@time.cdrom.com Subject: Re: cvs commit: /host/freefall/a/ncvs/src/usr.sbin/pkg_install/create perform.c In-reply-to: Your message of "Tue, 25 Apr 95 12:31:39 +1000." <199504250231.MAA11649@godzilla.zeta.org.au> Date: Mon, 24 Apr 1995 20:40:56 -0700 Message-ID: <10345.798781256@freefall.cdrom.com> From: "Jordan K. Hubbard" Sender: cvs-other-owner@freebsd.org Precedence: bulk > > Modified: host/freefall/a/ncvs/src/usr.sbin/pkg_install/create > > perform.c > > Log: > > Use ARG_MAX instead of _POSIX_ARG_MAX: 4K is too small! > > This should stop the SIGBUS errors in pkg_create for some packages. > > You should use sysconf(_SC_ARG_MAX) as in create/pl.c and stop the > SIGBUS errors by ensuring that the array isn't overrun, e.g., by > using snprintf as in create/pl.c. > > Bruce Oh GEEZE! You want me to add *bounds checking* too?? [Walks away grumbling to himself..] :) Jordan