[Dovecot] antispam plugin / mailtrain backend: t_pop() leak & killed with signal 6
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
antispam plugin version downloaded HEAD snapshot today.
Leaked a t_pop() call in I/O handler 0x805b350
Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] -> imap(io_loop_handler _run+0x1ce) [0x80b35ce] -> imap(io_loop_run+0x28) [0x80b29a8] -> imap(main+0x5a0) [0x8063590] -> /lib/tls/i686/cmov/libc.so.6(__lib c_start_main+0xc8) [0xb7e37ea8] -> imap [0x8055e31]
child 18478 (imap) killed with signal 6
Cause is, if sendmail fails with an exit code != 0, the function returns with -1 immediately skipping the t_pop() before the end of the function.
See attached diff.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHzpkeVJMDrex4hCIRAhhzAJ9uwU9pYEOZoSZiYJiERcKJJOzI/ACfXG10 BmSVMKMh2FUFve9Qu8atY9k= =wE4j -----END PGP SIGNATURE-----
Leaked a t_pop() call in I/O handler 0x805b350
Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] -> imap(io_loop_handler _run+0x1ce) [0x80b35ce] -> imap(io_loop_run+0x28) [0x80b29a8] -> imap(main+0x5a0) [0x8063590] -> /lib/tls/i686/cmov/libc.so.6(__lib c_start_main+0xc8) [0xb7e37ea8] -> imap [0x8055e31]
child 18478 (imap) killed with signal 6
Cause is, if sendmail fails with an exit code != 0, the function returns with -1 immediately skipping the t_pop() before the end of the function.
See attached diff.
Merged, thanks.
johannes
participants (2)
-
Johannes Berg
-
Steffen Kaiser