misc/88159: ifconfig coredumps when string is too long

Thijs Eilander eilander at paranoid.nl
Fri Oct 28 14:30:11 PDT 2005


>Number:         88159
>Category:       misc
>Synopsis:       ifconfig coredumps when string is too long
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 21:30:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thijs Eilander
>Release:        FreeBSD 6.0RC1
>Organization:
none
>Environment:
FreeBSD router.paranoid.nl 6.0-RC1 FreeBSD 6.0-RC1 #6: Fri Oct 28 21:48:58 CEST 2005     root@:/usr/obj/usr/src/sys/GENERIC  i386   
>Description:

ifconfig coredumps when you enter a wepkey which is too long.
An hex key maybe 26 chars, when entering a key of 27 chars (or longer) ifconfig coredumps.

# ifconfig ural0 nwkey 1:0x12345678901234567890123456a
ifconfig: hexadecimal digits too long
Segmentation fault (core dumped)

>How-To-Repeat:
ifconfig ural0 nwkey 1:0x12345678901234567890123456a
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list