Bug#1006661: exim4-base: Syntax Error in exiqgrep
Paul Saunders
darac at darac.org.uk
Tue Mar 1 19:23:39 GMT 2022
Package: exim4-base
Version: 4.95-4
Severity: normal
Dear Maintainer,
When running /usr/sbin/exiqgrep, a Syntax Error is reported, and the
program quits:
$ /usr/sbin/exiqgrep
syntax error at /usr/sbin/exiqgrep line 56, near ") {"
syntax error at /usr/sbin/exiqgrep line 56, near ";}"
syntax error at /usr/sbin/exiqgrep line 57, near ";}"
syntax error at /usr/sbin/exiqgrep line 58, near ";}"
Execution of /usr/sbin/exiqgrep aborted due to compilation errors.
Looking at the code, the problem appears to be that line 56 is of the
form:
if (!getops(...) { ...}
The unbalanced parentheses are the problem. Adding a second closing
bracket after the getopts call fixes the issue.
-- Package-specific info:
Exim version 4.95 #2 built 19-Feb-2022 13:49:28
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2020
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS TLS_resume move_frozen_messages Content_Scanning DANE DKIM DNSSEC Event I18N OCSP PIPE_CONNECT PRDR PROXY Experimental_Queue_Ramp SOCKS SPF SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot external plaintext spa tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (550, 'testing'), (500, 'stable-updates'), (450, 'unstable'), (450, 'stable'), (445, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages exim4-base depends on:
ii adduser 3.118
ii cron [cron-daemon] 3.0pl1-137
ii debconf [debconf-2.0] 1.5.79
ii exim4-config [exim4-config-2] 4.95-4
ii libc6 2.33-7
ii libdb5.3 5.3.28+dfsg1-0.8
ii lsb-base 11.1.0
ii netbase 6.3
ii systemd-sysv 250.3-2
Versions of packages exim4-base recommends:
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2
ii psmisc 23.4-2
Versions of packages exim4-base suggests:
ii bsd-mailx [mail-reader] 8.1.2-0.20180807cvs-2
pn exim4-doc-html | exim4-doc-info <none>
pn eximon4 <none>
ii file 1:5.41-2
ii gnutls-bin 3.7.3-4+b1
ii mutt [mail-reader] 2.1.4-1
ii openssl 1.1.1m-1
ii spf-tools-perl 2.9.0-5
ii swaks 20201014.0-2
ii thunderbird [mail-reader] 1:91.6.1-1
-- debconf information:
exim4/purge_spool: false
exim4-base/drec:
More information about the Pkg-exim4-maintainers
mailing list