Re: [exim] Segfault in perform_ldap_search() in exim-4.90.1

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Matthew Slowe
Data:  
Para: exim-users
Assunto: Re: [exim] Segfault in perform_ldap_search() in exim-4.90.1
On Thu, Mar 08, 2018 at 12:49:58PM +0000, Matthew Slowe via Exim-users wrote:
>Hi,
>
>We've updated to the EPEL shipped 4.90.1 (exim-4.90.1-2.el7.x86_64) from
>exim-4.89-4.el7.x86_64 and have started seeing frequent segfaults.
>
>Mar 8 12:26:59 americano kernel: exim[1607]: segfault at 8 ip 0000560dd32915d0 sp 00007fffcef352b0 error 4 in exim[560dd31b1000+133000]
>
>We can reliably reproduce the segfault using "exim -bt <address>" too.


In case it's useful, the exim -bt segfault is:

Mar 8 12:41:54 americano kernel: exim[4680]: segfault at 8 ip 000055d963fba5e2 sp 00007fffc617b990 error 4 in exim[55d963eda000+133000]

Core was generated by `exim -bt tb367'.
Program terminated with signal 11, Segmentation fault.
#0  perform_ldap_search (ldap_url=<optimized out>, server=<optimized out>, server@entry=0x7fffc617bb80 "localhost",
    s_port=<optimized out>, search_type=search_type@entry=1, res=res@entry=0x7fffc617be00,
    errmsg=errmsg@entry=0x55d964223778 <search_error_message>, defer_break=defer_break@entry=0x7fffc617bb68,
    user=user@entry=0x55d96601e5c0 "<removed>",
    password=password@entry=0x55d96601e5f0 "<password>", sizelimit=sizelimit@entry=0, timelimit=timelimit@entry=0,
    tcplimit=tcplimit@entry=0, dereference=dereference@entry=0, referrals=referrals@entry=0x7f46ea80a1e0 <ber_pvt_opt_on>)
    at ldap.c:1077


It seems to be when one of the string expansions doing address rewriting returns nothing.

--
Matthew Slowe | Server Infrastructure Officer
IT Infrastructure, Information Services, University of Kent
Room S21, Cornwallis South
Canterbury, Kent, CT2 7NZ, UK
Tel: +44 (0)1227 824265

www.kent.ac.uk/is | @UnikentUnseenIT | @UKCLibraryIt
PGP: https://keybase.io/fooflington