Bug#917467: wmbiff: tlscomm_expect() does not handle EAGAIN or GNUTLS_E_AGAIN

Torrance, Douglas dtorrance at piedmont.edu
Wed Feb 13 10:47:34 GMT 2019


On 12/27/18 3:48 PM, Nye Liu wrote:
> Package: wmbiff
> Version: 0.4.31-1
> Severity: important
> Tags: upstream patch
> 
> If gnutls_read() or read() report EAGAIN, tlscomm_expect() fails:
> 
> wmbiff/nyet  comm: wrote a000 CAPABILITY
> wmbiff/nyet  comm: imap.***.***:993: expecting: * CAPABILITY
> wmbiff/nyet  comm: imap.***.***:993: gnutls error reading: Resource temporarily unavailable, try again.
> wmbiff/nyet  imap4: unable to query capability stringwmbiff/nyet  comm: wrote a002 LOGOUT
> wmbiff/nyet  comm: imap.***.***:993: closing.

Thanks for the bug report and patch!  I submitted the patch upstream [1] 
and released a new version of wmbiff [2].

Andreas, I've pushed a new Debian package to git [3].  Would you be able 
to review and sponsor?

Thanks!
Doug

[1] https://repo.or.cz/dockapps.git/commitdiff/01cdccc
[2] https://www.dockapps.net/wmbiff
[3] https://salsa.debian.org/wmaker-team/wmbiff



More information about the Pkg-wmaker-devel mailing list