pkg_info segfault Revision: 193189

Glen Barber glen.j.barber at gmail.com
Mon Jun 1 20:30:29 UTC 2009


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.

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


More information about the freebsd-hackers mailing list