From owner-freebsd-bugs Sun Sep 8 1:20: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E94E37B400 for ; Sun, 8 Sep 2002 01:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CED443E72 for ; Sun, 8 Sep 2002 01:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g888K2JU078580 for ; Sun, 8 Sep 2002 01:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g888K2ff078579; Sun, 8 Sep 2002 01:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D931A37B409 for ; Sun, 8 Sep 2002 01:10:53 -0700 (PDT) Received: from blok52.atlantis.bg (blok52.atlantis.bg [193.108.24.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC04443E42 for ; Sun, 8 Sep 2002 01:10:52 -0700 (PDT) (envelope-from root@blok52.atlantis.bg) Received: by blok52.atlantis.bg (Postfix, from userid 0) id DE125AA0E; Sun, 8 Sep 2002 11:10:50 +0300 (EEST) Message-Id: <20020908081050.DE125AA0E@blok52.atlantis.bg> Date: Sun, 8 Sep 2002 11:10:50 +0300 (EEST) From: Vasil Dimov Reply-To: vd@etrade.bg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/42544: ifconfig.core, nonsense syntax causes "Segmentation fault" in ifconfig Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42544 >Category: bin >Synopsis: ifconfig.core, nonsense syntax causes "Segmentation fault" in ifconfig >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 08 01:20:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: none >Environment: System: FreeBSD polejan.bl-52.studgrad.net 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Thu Sep 5 21:09:57 EEST 2002 root@polejan.bl-52.studgrad.net:/usr/obj/usr/src/sys/POLEJAN i386 >Description: everything of the form: ifconfig IF ether WHATEVER -alias (where IF is any existing interface and WHATEVER is some non-empty string) causes ifconfig to crash. Of-course there is no sense in typing things like that, by ifconfig.core is not the right reaction of the program. This is not somethig new (in 4.7) it surely happens in 4.6-STABLE and probably previous versions. I just did not had the time to submit it earlier, also I wasn't able to mail to @freebsd.org, because of the "450 Client host rejected: cannot find your hostname" Postfix err. >How-To-Repeat: As I suppose everyone has the loopback interface so the following should do: ifconfig lo0 ether 0 -alias >Fix: cd /usr/src/sbin/ifconfig && hack >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message