Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196940

Summary: net-wireless/wavemon prints wrong key
Product: Gentoo Linux Reporter: Santiago Gala <sgala>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for unsigned char
the previous one had broken whitespace

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