Date: Wed, 17 Jun 2009 02:52:35 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org Subject: svn commit: r194320 - in stable/6/usr.sbin/pkg_install: . info Message-ID: <200906170252.n5H2qZvF059930@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Wed Jun 17 02:52:35 2009 New Revision: 194320 URL: http://svn.freebsd.org/changeset/base/194320 Log: MFC r193273 by jilles: Fix segfault when giving invalid long option to pkg_info. PR: bin/133473 Submitted by: Rafal Grodzinski Modified: stable/6/usr.sbin/pkg_install/ (props changed) stable/6/usr.sbin/pkg_install/info/main.c Modified: stable/6/usr.sbin/pkg_install/info/main.c ============================================================================== --- stable/6/usr.sbin/pkg_install/info/main.c Wed Jun 17 02:51:16 2009 (r194319) +++ stable/6/usr.sbin/pkg_install/info/main.c Wed Jun 17 02:52:35 2009 (r194320) @@ -58,6 +58,7 @@ static struct option longopts[] = { { "verbose", no_argument, NULL, 'v' }, { "version", no_argument, NULL, 'P' }, { "which", required_argument, NULL, 'W' }, + { NULL, 0, NULL, 0 } }; int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906170252.n5H2qZvF059930>