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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Glen Barber
FreeBSD Tutorials: http://www.dev-urandom.com



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