Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Sep 2002 11:10:50 +0300 (EEST)
From:      Vasil Dimov <vd@etrade.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/42544: ifconfig.core, nonsense syntax causes "Segmentation fault" in ifconfig
Message-ID:  <20020908081050.DE125AA0E@blok52.atlantis.bg>

next in thread | raw e-mail | index | archive | help

>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




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