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

Robert Watson rwatson at
Sat Mar 29 06:52:12 PST 2003

On Sat, 29 Mar 2003, Dag-Erling Smørgrav wrote:

> Robert Watson <rwatson at> 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

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at      Network Associates Laboratories

More information about the cvs-src mailing list