Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 22:04:53 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Glen Barber <glen.j.barber@gmail.com>
Cc:        freebsd-hackers@freebsd.org, Eitan Adler <eitanadlerlist@gmail.com>
Subject:   Re: pkg_info segfault Revision: 193189
Message-ID:  <20090601220453.7613cd80@gluon.draftnet>
In-Reply-To: <4ad871310906011330l5a374b27gb4527006c1c47cfa@mail.gmail.com>
References:  <4A22F7CD.2070500@gmail.com> <20090601212819.7fa6598e@gluon.draftnet> <4ad871310906011330l5a374b27gb4527006c1c47cfa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Jun 2009 16:30:26 -0400
Glen Barber <glen.j.barber@gmail.com> wrote:

> On Mon, Jun 1, 2009 at 4:28 PM, Bruce Cran <bruce@cran.org.uk> wrote:
> > On Sun, 31 May 2009 17:34:05 -0400
> > Eitan Adler <eitanadlerlist@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



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