[exim-dev] [Bug 399] New: verify=helo segfaults if no sender…

Top Page
Delete this message
Reply to this message
Author: World Wide Web Owner
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 399] New: verify=helo segfaults if no sender host address available
http://www.exim.org/bugzilla/show_bug.cgi?id=399

           Summary: verify=helo segfaults if no sender host address
                    available
           Product: Exim
           Version: 4.62
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
        AssignedTo: ph10@???
        ReportedBy: zak@???
         QAContact: exim-dev@???



If I put:

acl_smtp_helo = acl_check_helo

and

  acl_check_helo:
    require verify = helo
    accept


in my exim.conf, and then do "exim -bs" without a -bh option, I get a segfault
after entering the HELO command. With -d:

Exim version 4.62 uid=0 gid=0 pid=15884 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Support for: crypteq iconv() IPv6 PAM Perl TCPwrappers GnuTLS Content_Scanning
Old_Demime Experimental_SPF Experimental_SRS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch
mysql passwd pgsql
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 4
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=15884
auxiliary group list: <none>
configuration file is /etc/exim/exim.conf
log selectors = 00000ffc 00089001
cwd=/home/zak 3 args: /usr/sbin/exim -d -bs
trusted user
admin user
changed uid/gid: privilege not needed
uid=8 gid=12 pid=15884
auxiliary group list: <none>
originator: uid=0 gid=0 login=root name=root
sender address = NULL
in "127.0.0.1 : 192.168.178.0/24"? no (end of list)
in "+relay_from_hosts"? no (end of list)
in "+local_identify_hosts"? no (end of list)
in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
SMTP connection from root
SMTP>> 220 remain.afraid.org ESMTP Exim 4.62 Tue, 17 Oct 2006 23:37:07 +0100

220 remain.afraid.org ESMTP Exim 4.62 Tue, 17 Oct 2006 23:37:07 +0100
smtp_setup_msg entered
HELO localhost
SMTP<< HELO localhost
using ACL "acl_check_helo"
processing "require"
check verify = helo
verifying EHLO/HELO argument "localhost"
looking up host name for NULL
Segmentation fault


It works fine once I prepend "accept hosts = :" to the ACL.

(Observed on a Gentoo build of Exim 4.62)



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.