Date: Mon, 24 Apr 1995 20:40:56 -0700 From: "Jordan K. Hubbard" <jkh@freefall.cdrom.com> To: Bruce Evans <bde@zeta.org.au> 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 Message-ID: <10345.798781256@freefall.cdrom.com> In-Reply-To: Your message of "Tue, 25 Apr 95 12:31:39 %2B1000." <199504250231.MAA11649@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10345.798781256>