pkg_info segfault Revision: 193189

Bruce Cran bruce at cran.org.uk
Mon Jun 1 21:04:59 UTC 2009


On Mon, 1 Jun 2009 16:30:26 -0400
Glen Barber <glen.j.barber at gmail.com> wrote:

> On Mon, Jun 1, 2009 at 4:28 PM, Bruce Cran <bruce at cran.org.uk> wrote:
> > On Sun, 31 May 2009 17:34:05 -0400
> > Eitan Adler <eitanadlerlist at gmail.com> wrote:
> >
> >> pkg_info --IwantAcookie
> >> Segmentation fault: 11 (core dumped)
> >> on FreeBSD 7.2-STABLE i386
> >
> > getopt_long expects the array of options to be NULL-terminated, so
> > it's walking off the end.
> >
> 
> Hi guys,
> 
> There was a PR submitted (about pkg_add) already about this, with a
> patch.  I am unsure if the patch was looked at yet.
> 

The PR is bin/133473
(http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/133473) and contains the
same patch for pkg_info.

-- 
Bruce Cran


More information about the freebsd-hackers mailing list