From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 1 20:30:29 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 563F31065674 for ; Mon, 1 Jun 2009 20:30:29 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id D50FC8FC1A for ; Mon, 1 Jun 2009 20:30:28 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz9 with SMTP id 9so7894914bwz.43 for ; Mon, 01 Jun 2009 13:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=K40w5BwmamG5ncizuW0KqKPbZx5e5wzDxAg6UA7QkHU=; b=ozC2GZ3zei82iydK2vTa4oVfXfJweLvBKx4SDcxCudrE/Wx70xR1sU9v3MYtCuvy8j OrhF0btIBYdNEAuyw1vRt2tvswRde4120Z9v9gOBV5CDwtoxKRVRXdzi/Jfadm1QqnJ3 YMmKdMn4jlwmpaRDMY4UOKHOOKqGFCIytE0/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bI/xSoOdfxlJBkmOzFlEtKwomEBXpKnF83WIypXh6dZJ+xPRCf5qjpUnnbLeThANCU Omtr4cumLNBfmPWgrMm3aHUEvypwajFZy0nKfF7ztF7hkC+J5wx3fngWX3vv5methT+p iDcYSD+PhXOOres80IoS4uu0SBHTrPDmq65us= MIME-Version: 1.0 Received: by 10.204.65.17 with SMTP id g17mr5961730bki.193.1243888226786; Mon, 01 Jun 2009 13:30:26 -0700 (PDT) In-Reply-To: <20090601212819.7fa6598e@gluon.draftnet> References: <4A22F7CD.2070500@gmail.com> <20090601212819.7fa6598e@gluon.draftnet> Date: Mon, 1 Jun 2009 16:30:26 -0400 Message-ID: <4ad871310906011330l5a374b27gb4527006c1c47cfa@mail.gmail.com> From: Glen Barber To: Bruce Cran , Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: pkg_info segfault Revision: 193189 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 20:30:29 -0000 On Mon, Jun 1, 2009 at 4:28 PM, Bruce Cran wrote: > On Sun, 31 May 2009 17:34:05 -0400 > Eitan Adler 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