Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196940 - net-wireless/wavemon prints wrong key
Summary: net-wireless/wavemon prints wrong key
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-24 16:03 UTC by Santiago Gala
Modified: 2009-10-16 19:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for unsigned char (wavemon.patch,592 bytes, patch)
2007-10-24 16:07 UTC, Santiago Gala
Details | Diff
the previous one had broken whitespace (wavemon.patch,324 bytes, patch)
2007-10-24 16:21 UTC, Santiago Gala
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Gala 2007-10-24 16:03:39 UTC
wavemon prints negative chars in the encrypytion key as FFFFFFXX.

Reproducible: Always




I'm attaching a small patch to fix it. Also http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&data=wavemon&include=tags:patch&exclude=tags:pending&pend-exc=done
there are two debian patches that look usable for wavemon too.
Comment 1 Santiago Gala 2007-10-24 16:07:54 UTC
Created attachment 134242 [details, diff]
patch for unsigned char

omitting unsigned makes printf print chars >7F as FFFFFFXX
Comment 2 Santiago Gala 2007-10-24 16:21:45 UTC
Created attachment 134244 [details, diff]
the previous one had broken whitespace
Comment 3 Santiago Gala 2007-12-09 21:49:50 UTC
Now that I'm using WPA I'm seeing the the key being used is misreported too (always [0], contrary to what "iwlist eth1 key" says. But I don't see a clear place to patch this one
Comment 4 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-16 19:48:46 UTC
wavemon-0.6.7 just hit the tree. i believe that version fixed this bug.
please reopen if not.

thanks for the report
kind regards
Thilo