Bug 52802 - iwlist causes core dump
Summary: iwlist causes core dump
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: wireless-tools
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2001-08-29 14:00 UTC by northup
Modified: 2014-03-17 02:23 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2003-11-11 04:39:34 UTC

Attachments (Terms of Use)

Description northup 2001-08-29 14:00:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)

Description of problem:
Tried to run iwlist and I got a core dump.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run iwslist
2.gasp at core dump
3.get upset

Additional info:

Comment 1 Bill Nottingham 2002-01-25 03:58:28 UTC
Did you have any wireless cards installed - if so, what types?

Comment 2 Peter E. Popovich 2002-02-11 02:23:18 UTC
eth0 is an Addtron AWP-100.

#ika:i686# iwlist eth0
Segmentation fault (core dumped)

reproducible with both:
wireless-tools-21-3 (rh 7.2 release)
wireless-tools-21-4 (rawhide)

(I'm not the original reporter of the bug.)

Comment 3 Ed Marshall 2002-03-27 20:35:29 UTC
I can confirm the reported behavior. When running "iwlist <interface>", a core
dump is produced. "iwlist <interface> <command>" works as expected.

Really only a cosmetic problem, unless you've made iwlist suid root for some
strange reason. ;-)

Comment 4 Peter E. Popovich 2003-11-11 00:55:56 UTC
methinks the bug has since been fixed.

#ika:i686# rpm -qf `which iwlist`
#ika:i686# iwlist eth0
iwlist: unknown command `eth0'
#ika:i686# iwlist 
Usage: iwlist [interface] frequency
              [interface] channel
              [interface] ap
              [interface] accesspoints
              [interface] peers
              [interface] bitrate
              [interface] rate
              [interface] encryption
              [interface] key
              [interface] power
              [interface] txpower
              [interface] retry
              [interface] scanning

Note You need to log in before you can comment on or make changes to this bug.