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

Bug 161530

Summary: x11-plugins/wmpop3lb fixes
Product: Gentoo Linux Reporter: roma1390
Component: Current packagesAssignee: Gentoo Dockapp Team <desktop-dock>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full recv and STAT if LAST fail patch

Description roma1390 2007-01-11 12:52:01 UTC
wmpop3lb has some "bugs/nasty things"

1. if we have a "buggy" POP3 server which doesn't support LAST command
wmpop3lb doesn't have fall back to STAT command.

2. incorect receiving responces from server. this short strace log says all.
recv(5, "+OK dovecot ready.", 1024, 0)  = 18
send(5, "USER xxxxx\r\n", 12, 0)        = 12
recv(5, "\r\n", 1024, 0)                = 2
send(5, "quit\r\n", 6, 0)               = 6
recv(5, "+OK\r\n", 1024, 0)             = 5

as you see, after user it recv's "\r\n" which belongs to greeting message.


Reproducible: Always

Steps to Reproduce:
Comment 1 roma1390 2007-01-11 12:53:29 UTC
Created attachment 106544 [details, diff]
full recv and STAT if LAST fail patch

this patch contains:
1. full recv
2. use STAT if LAST fails
3. close socket
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2007-01-17 11:19:56 UTC
In Portage (as new package revision). Thanks for the submission!