bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] imap4d aborts


From: Ken Brown
Subject: [bug-mailutils] imap4d aborts
Date: Mon, 24 Apr 2017 16:23:27 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Starting with commit 87e06f7 (Rewrite TLS support), imap4d fails as follows:

$ ./imap4d.exe --version
INTERNAL ERROR: Requested unknown canned section tls
Aborted (core dumped)

[This is on Cygwin; I haven't tried it on any other platform.]

Running imap4d under gdb, I see the following:

#0  0x00000005f7e51881 in mu_assoc_get (assoc=0x60007e910,
    name=0x1004183e1 "tls") at assoc.c:325
#1  0x00000005f7e6f099 in mu_get_canned_container (name=0x1004183e1 "tls")
    at driver.c:91
#2  0x00000005f7e6f4e4 in mu_cfg_section_add_params (sect=0x600083db0,
    param=0x100415ad8 <imap4d_srv_param+56>) at driver.c:260
#3  0x00000005f7eaab80 in mu_m_server_cfg_init (srv=0x600083830,
    app_param=0x100415aa0 <imap4d_srv_param>) at msrv.c:998
#4  0x0000000100408956 in main (argc=2, argv=0xffffcc10) at imap4d.c:1005

The call to mu_assoc_get returns NULL because assoc_find_slot doesn't find "tls". Shouldn't something be done to create the "tls" section before mu_get_canned_container is called?

Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]