Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 18:06:49 -0700
From:      "Chad R. Larson" <chad@DCFinc.com>
To:        Jordan Hubbard <jkh@FreeBSD.ORG>
Cc:        chad@DCFinc.com, twchan@singnet.com.sg, sreese@codysbooks.com, sucho2@quasar.phys.vt.edu, sbernard@gmu.edu, freebsd-stable@FreeBSD.ORG
Subject:   Re: packages/INDEX on ftp.freebsd.org corrupted [was: Re: Has anybody been having problem with latest Snapshot for 4.3?  (Release 4.3-20010718-STABLE)]
Message-ID:  <20010721180649.A19790@freeway.dcfinc.com>
In-Reply-To: <20010721151923Q.jkh@freebsd.org>; from jkh@FreeBSD.ORG on Sat, Jul 21, 2001 at 03:19:23PM -0700
References:  <007201c11140$c20a7950$1800a8c0@borges> <20010721142148.B5244-100000@zaapth.twnet.org> <20010721142749.C19014@freeway.dcfinc.com> <20010721151923Q.jkh@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 21, 2001 at 03:19:23PM -0700, Jordan Hubbard wrote:
> From: "Chad R. Larson" <chad@DCFinc.com>
> Subject: Re: packages/INDEX on ftp.freebsd.org corrupted [was: Re: Has
> anybody been having problem with latest Snapshot for 4.3?  (Release
> 4.3-20010718-STABLE)]
> Date: Sat, 21 Jul 2001 14:27:49 -0700
> 
> > Sounds like a two pronger.
> > 1) Jordan (or whomever is working in his stead) should fix
> > sysinstall so it behaves correctly in the face of incorrect
> > input data.
> 
> Back in June:
> 
> revision 1.91
> date: 2001/06/22 21:47:55;  author: dd;  state: Exp;  lines: +4 -4
> Increase the buffer sizes for the build deps, run deps, and the line
> itself verbatim from INDEX.  This fixes seg. faults with newer INDEX
> files which have some gnome ports with outrageously long run deps.
> 
> Approved by:    jkh

And those new, larger buffers are written into by

    strncpy(dest_buff, src_buff, sizeof(dest_buff));
or
    read(fd, buffer, sizeof(buffer));

or some other bounded function, yes?

	-crl
--
Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
chad@dcfinc.com         chad@larsons.org          larson1@home.com
DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010721180649.A19790>