Your message dated Mon, 24 Aug 2015 15:21:09 +0000
with message-id <[email protected]>
and subject line Bug#792669: fixed in dovecot 1:2.2.18-2
has caused the Debian Bug report #792669,
regarding dovecot-sieve: sieve-test segfaults with editheader
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
792669: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792669
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dovecot-sieve
Version: 1:2.2.18-1
Severity: normal

Dear Maintainer,

On my system, sieve-test segfaults on the following minified Sieve script:

require ["editheader"];
addheader "foo" "bar";
if header :is "foo" "baz" { }

To reproduce, put the above script in script.sieve and do the following:

echo > mail
cat > dovecot.conf <<EOF
plugin {
  sieve_extensions = +editheader
}
EOF
sieve-test -c dovecot.conf script.sieve mail

The sieve-test command should segfault.

Here is a backtrace:

#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff7b747c7 in _header_right_trim (raw=0x3 <error: Cannot access 
memory at address 0x3>)
    at sieve-message.c:492
#2  sieve_message_header_stringlist_next_item (_strlist=0x55555575d120, 
str_r=0x7fffffffe940)
    at sieve-message.c:556
#3  0x00007ffff7b8b371 in sieve_stringlist_next_item (str_r=0x7fffffffe940, 
strlist=0x55555575d120)
    at sieve-stringlist.h:44
#4  sieve_match (renv=renv@entry=0x555555791ab0, 
mcht=mcht@entry=0x7fffffffe9d0, 
    cmp=cmp@entry=0x7fffffffe9b0, value_list=0x55555575d120, 
key_list=0x55555575d0c8, 
    exec_status=exec_status@entry=0x7fffffffe99c) at sieve-match.c:181
#5  0x00007ffff7b91730 in tst_header_operation_execute (renv=0x555555791ab0, 
address=0x555555791af8)
    at tst-header.c:193
#6  0x00007ffff7b828f7 in sieve_interpreter_operation_execute 
(interp=0x555555791a80)
    at sieve-interpreter.c:542
#7  sieve_interpreter_continue (interp=interp@entry=0x555555791a80, 
interrupted=interrupted@entry=0x0)
    at sieve-interpreter.c:573
#8  0x00007ffff7b82a4a in sieve_interpreter_start 
(interp=interp@entry=0x555555791a80, 
    result=<optimized out>, interrupted=interrupted@entry=0x0) at 
sieve-interpreter.c:604
#9  0x00007ffff7b82a7b in sieve_interpreter_run (interp=0x555555791a80, 
result=0x555555798e00)
    at sieve-interpreter.c:615
#10 0x00007ffff7b94f8f in sieve_run (sbin=0x55555577aeb0, 
result=result@entry=0x7fffffffeae0, 
    msgdata=0x7fffffffebc0, senv=senv@entry=0x7fffffffebf0, 
ehandler=0x5555557799e0, 
    flags=<optimized out>) at sieve.c:335
#11 0x00007ffff7b959cc in sieve_test (sbin=<optimized out>, msgdata=<optimized 
out>, 
    senv=0x7fffffffebf0, ehandler=<optimized out>, stream=0x55555578b6f0, 
flags=<optimized out>, 
    keep=0x0) at sieve.c:496
#12 0x00005555555577d7 in main (argc=6, argv=0x555555764390) at sieve-test.c:295

sieve-test used to work fine on the (non-minified) script on which it now
segfaults, so this bug was probably introduced by a recent version.

-- Package-specific info:

dovecot configuration
---------------------
# 2.2.18: /etc/dovecot/dovecot.conf
# OS: Linux 4.0.0-2-amd64 x86_64 Debian stretch/sid 
mail_location = mbox:~/mail:INBOX=/var/mail/%u
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
ssl = no
userdb {
  driver = passwd
}

-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dovecot-sieve depends on:
ii  dovecot-core  1:2.2.18-1
ii  libc6         2.19-18
ii  ucf           3.0030

dovecot-sieve recommends no packages.

dovecot-sieve suggests no packages.

Versions of packages dovecot-sieve is related to:
ii  dovecot-core [dovecot-common]  1:2.2.18-1
ii  dovecot-dbg                    1:2.2.18-1
pn  dovecot-dev                    <none>
pn  dovecot-gssapi                 <none>
pn  dovecot-imapd                  <none>
pn  dovecot-ldap                   <none>
pn  dovecot-lmtpd                  <none>
pn  dovecot-managesieved           <none>
pn  dovecot-mysql                  <none>
pn  dovecot-pgsql                  <none>
pn  dovecot-pop3d                  <none>
ii  dovecot-sieve                  1:2.2.18-1
pn  dovecot-sqlite                 <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dovecot
Source-Version: 1:2.2.18-2

We believe that the bug you reported is fixed in the latest version of
dovecot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jaldhar H. Vyas <[email protected]> (supplier of updated dovecot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 23 Aug 2015 23:16:28 -0400
Source: dovecot
Binary: dovecot-core dovecot-dev dovecot-imapd dovecot-pop3d dovecot-lmtpd 
dovecot-managesieved dovecot-pgsql dovecot-mysql dovecot-sqlite dovecot-ldap 
dovecot-gssapi dovecot-sieve dovecot-solr dovecot-lucene dovecot-dbg
Architecture: source i386
Version: 1:2.2.18-2
Distribution: unstable
Urgency: high
Maintainer: Dovecot Maintainers <[email protected]>
Changed-By: Jaldhar H. Vyas <[email protected]>
Description:
 dovecot-core - secure POP3/IMAP server - core files
 dovecot-dbg - secure POP3/IMAP server - debug symbols
 dovecot-dev - secure POP3/IMAP server - header files
 dovecot-gssapi - secure POP3/IMAP server - GSSAPI support
 dovecot-imapd - secure POP3/IMAP server - IMAP daemon
 dovecot-ldap - secure POP3/IMAP server - LDAP support
 dovecot-lmtpd - secure POP3/IMAP server - LMTP server
 dovecot-lucene - secure POP3/IMAP server - Lucene support
 dovecot-managesieved - secure POP3/IMAP server - ManageSieve server
 dovecot-mysql - secure POP3/IMAP server - MySQL support
 dovecot-pgsql - secure POP3/IMAP server - PostgreSQL support
 dovecot-pop3d - secure POP3/IMAP server - POP3 daemon
 dovecot-sieve - secure POP3/IMAP server - Sieve filters support
 dovecot-solr - secure POP3/IMAP server - Solr support
 dovecot-sqlite - secure POP3/IMAP server - SQLite support
Closes: 792669
Changes:
 dovecot (1:2.2.18-2) unstable; urgency=high
 .
   * [3f3bf71] Updated pigeonhole patch to 0.4.8 (Closes: #792669)
Checksums-Sha1:
 2a41a5a08cec4573cd433e19b4ac73e5f1f37e18 2885 dovecot_2.2.18-2.dsc
 cd3912aeda91c24c829736f095a1e491f12169e5 797740 dovecot_2.2.18-2.debian.tar.xz
 d25eed7f8898c16cbd8d58ad4c6f290956472000 3115958 dovecot-core_2.2.18-2_i386.deb
 c8dc38612e3e2a6ea05388afefd32a5cb6975a7a 6324702 dovecot-dbg_2.2.18-2_i386.deb
 947f2efaf2d2cbc6869528e67147a0da44b72ba1 880830 dovecot-dev_2.2.18-2_i386.deb
 a90f6122d5a4f5c72c596bff6a101da888d2d1d7 638510 
dovecot-gssapi_2.2.18-2_i386.deb
 d15e91facf4fddf593cbe54cfa535774c64ff90f 771196 dovecot-imapd_2.2.18-2_i386.deb
 2e417f6bb117c1283c2cacc9481dea70f0518812 654212 dovecot-ldap_2.2.18-2_i386.deb
 97359241138f0fed5f8a732e37aeffc9fbc7e391 654566 dovecot-lmtpd_2.2.18-2_i386.deb
 fa5ec77b0f06a622bb92746a4f9fddd1995833a3 659110 
dovecot-lucene_2.2.18-2_i386.deb
 694b96aa009b99801d1090647e3e6bd2689e1e61 671540 
dovecot-managesieved_2.2.18-2_i386.deb
 5246dd42f9528190d675e41079d7d9b0501a0c9b 639256 dovecot-mysql_2.2.18-2_i386.deb
 c835cf7faca7d713b59728d2d5d6ce11850fee3b 642266 dovecot-pgsql_2.2.18-2_i386.deb
 2027ffb77a4e84a02d1a678fa3ef55eca270a6a4 660464 dovecot-pop3d_2.2.18-2_i386.deb
 9c8ce0a1b0f49d59d86d5789cccf1af3ddea3e37 932456 dovecot-sieve_2.2.18-2_i386.deb
 0c1798cd346a7dff000b4dde04a86af54c83b59c 651582 dovecot-solr_2.2.18-2_i386.deb
 88f22a73ab5142f85ff01ec3dd078f81c0314abf 637220 
dovecot-sqlite_2.2.18-2_i386.deb
Checksums-Sha256:
 0387064de85d5827abbc91e241c6b6ee83c2fe6110d38ba35505f1b26421a35d 2885 
dovecot_2.2.18-2.dsc
 76d246bb3decae505003425e6dad87a57b9ba327cba525a86595f237ba288c7d 797740 
dovecot_2.2.18-2.debian.tar.xz
 3ef331d8f6ea863638ad81c709c5d0b82046b69e370abe0947c66134e926838a 3115958 
dovecot-core_2.2.18-2_i386.deb
 0f28d3e320a9af6919ec30b709a22af58d8b59dfa3173c3e856e7b6d154628d0 6324702 
dovecot-dbg_2.2.18-2_i386.deb
 f7b572178160da7770cd8cd3ef1f666cdb2c360de0055507b1dbe7449f85bd88 880830 
dovecot-dev_2.2.18-2_i386.deb
 77d568f722dabe3b65c39fa0adefc8e4ca7c0745643adb921cc320740b40d775 638510 
dovecot-gssapi_2.2.18-2_i386.deb
 3b7f4d09186126e3092be510d9516ec93b168b5ec3db35b3ce11c7b4ab145d0e 771196 
dovecot-imapd_2.2.18-2_i386.deb
 46fe1c54247019dfef3c65943c55729c00176601a976199e54def64f4f0b3f2c 654212 
dovecot-ldap_2.2.18-2_i386.deb
 61e0f18545c77ba5ce4f1b80ccd109dd81e3b7ad696ea4ef5012e62333605007 654566 
dovecot-lmtpd_2.2.18-2_i386.deb
 046b2e80d2dc029b0bef4a0895c28560e8b7e523d049a1338b3b491a3e2bf6a5 659110 
dovecot-lucene_2.2.18-2_i386.deb
 58e81ffdc97cdb75bde43129129bb49e556edf96bb583b4f62af4e5cb6c3a897 671540 
dovecot-managesieved_2.2.18-2_i386.deb
 459b1476d78479bb3c9c3e7f7f6647efa64bb9b27cff30c7c3d07157bc476208 639256 
dovecot-mysql_2.2.18-2_i386.deb
 2829645cce55cf36430fa0a6c592b9900ab973ada951fa5588c7ff25a566b98a 642266 
dovecot-pgsql_2.2.18-2_i386.deb
 3ddd0649ea6a7df3d4c4306ddf195907febd245d41fb9aad8aa749c260b1c348 660464 
dovecot-pop3d_2.2.18-2_i386.deb
 600a0cfd71efbb70347317f78e34297d9aa225c265bf4fb0f3b5c7cde7f47d53 932456 
dovecot-sieve_2.2.18-2_i386.deb
 fa0d07fa9cd3855387518de095414149f0f757f21353a6d02731b80dc1222acc 651582 
dovecot-solr_2.2.18-2_i386.deb
 f61ecf5e3a88ff6356c2f289cc3068ebaeb8606818e55bcb8ad7f391b237826a 637220 
dovecot-sqlite_2.2.18-2_i386.deb
Files:
 b066d2e568f46f3de1bf2a2fb7c3f457 2885 mail optional dovecot_2.2.18-2.dsc
 896b3385d1db0574a5d8f4004d54a563 797740 mail optional 
dovecot_2.2.18-2.debian.tar.xz
 56228394081280f376bb58f1cc935fdd 3115958 mail optional 
dovecot-core_2.2.18-2_i386.deb
 cc00d7498c83e1fbc015a5b7063a7719 6324702 debug extra 
dovecot-dbg_2.2.18-2_i386.deb
 c653bfa5155839d589d756e52138e2b1 880830 mail optional 
dovecot-dev_2.2.18-2_i386.deb
 8e1a8618da76daaec692e2c6417a6630 638510 mail optional 
dovecot-gssapi_2.2.18-2_i386.deb
 020cb03495206548d716fc525770ee03 771196 mail optional 
dovecot-imapd_2.2.18-2_i386.deb
 ef3112f9660591c13c70d2737f7bfcb4 654212 mail optional 
dovecot-ldap_2.2.18-2_i386.deb
 ac7a541ef4c254b29a2d9e3dd9ed58bd 654566 mail optional 
dovecot-lmtpd_2.2.18-2_i386.deb
 de732f3ca0aec1f6d3333bae382ddfc2 659110 mail optional 
dovecot-lucene_2.2.18-2_i386.deb
 34cf99739b7a8f28a46fc4b45131b2d0 671540 mail optional 
dovecot-managesieved_2.2.18-2_i386.deb
 22e467edc7e5d5e91666c0f4d7eb5336 639256 mail optional 
dovecot-mysql_2.2.18-2_i386.deb
 0e8641e39f29c0a9a4ff3ba46e421e49 642266 mail optional 
dovecot-pgsql_2.2.18-2_i386.deb
 caa0fff33257ca90b1c38eb5b7807295 660464 mail optional 
dovecot-pop3d_2.2.18-2_i386.deb
 23f26b82be0a7b4aeb0c4f5de0d39061 932456 mail optional 
dovecot-sieve_2.2.18-2_i386.deb
 f2ddb333109ad1f1c600600573f8e768 651582 mail optional 
dovecot-solr_2.2.18-2_i386.deb
 e3167b186d2001f75ca3e3671c02f177 637220 mail optional 
dovecot-sqlite_2.2.18-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJV2zJ5AAoJEOqmOPrEeU2vgKcIALaI7tHXDH6jEdxR0gswtVO4
2Bs2WZpkp+1sL2QOJ0rETzJBgc4lqN5hlUmV1iifOJxsbHQVarF+XLxnW21lPtdu
U6BqLzCgF3Sq4Y10kiRP2QexMGFMVDY+4dijfbhe9mse6j3OVbxP4vlo2Jrgcr0E
gMyo3fiOpQpxzlAgGfFK4vUf528iNcOPRKdpU7gR7BtzqmkCObIjt1fAFudcHlst
RqVpxMEiRHbkm3WB5QgfNgB91VjXYRGkNzcAGuJPXb4D1I5saxDz5pStNfwqP7KF
mXwzHk/RATlEqICxKwgCDniBiMbd8/8IfNR37V2LpmyOhB+BGRfy/Dbke/egZZQ=
=27eq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to