Re: cvs commit: src/usr.sbin/pkg_install/lib url.c

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Sat, 29 Mar 2003 09:52:02 -0500 (EST)
On Sat, 29 Mar 2003, Dag-Erling Smørgrav wrote:

> Robert Watson <rwatson_at_FreeBSD.org> writes:
> >   Log:
> >   Don't pass NULL in as a flags argument to libfetch's fetchGetURL()
> >   as this can result in a NULL pointer deference when parsing the
> >   flags later.  This change fixes "pkg_add -r" on 5.0-CURRENT for
> >   me; not quite clear how the problem was introduced.
> 
> Umm, this was already fixed in libfetch more than a week ago.

Interesting, because it was still segfaulting for me with a fresh -current
the same day I committed the change. :-)  I'm currently in the process of
packing to move apartments, but I'll see if I can't get a system up using
today's -current and without that change and see what happens soemtime
today.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Network Associates Laboratories
Received on Sat Mar 29 2003 - 06:52:09 UTC