I am currently recreating this bug on Ubuntu Xenial with a minimal
config file :

options.timeout = 120
options.namespace = false
options.subscribe = true
options.charset = 'UTF-8'

cbaz_laposte = IMAP
{
        server = 'imap.laposte.net',
        username = 'cbazaugour'
}

Placing print('a') before and after the IMAP call shows the segfault
happens in the IMAP call :

~$ imapfilter -v
a
Enter password for cbazaug...@imap.laposte.net: 
S (3): * OK IMAP4 ready
C (3): 1000 CAPABILITY
S (3): 1000 OK completed
C (3): 1001 STARTTLS
S (3): 1001 OK completed
Erreur de segmentation (core dumped)

After adding the ssl information in my IMAP parameter :

cbaz_laposte = IMAP
{
        server = 'imap.laposte.net',
        username = 'cbazaugour',
        ssl = 'ssl2'
}

the segfault does no longer happen :

~$ imapfilter -v
Enter password for cbazaug...@imap.laposte.net: 
S (3): * OK IMAP4 ready
C (3): 1000 CAPABILITY
S (3): 1000 OK completed
C (3): 1001 LOGIN "cbazaugour" *
S (3): 1001 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE 
ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LIST-STATUS LITERAL+ 
LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR 
SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN XLIST] LOGIN 
completed
C (3): 1002 CAPABILITY
S (3): 1002 OK CAPABILITY completed
C (3): 1003 LOGOUT

I would like to give you more informations to allow you to test this,
but this account is my main personnal account. I''' try creating a new
account reproducing the segfault.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1619968

Title:
  imapfilter Segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imapfilter/+bug/1619968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to