[Dovecot] antispam plugin / mailtrain backend: t_pop() leak & killed with signal 6
Steffen Kaiser
skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Wed Mar 5 14:59:08 EET 2008
-----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-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailtrain.diff.gz
Type: application/octet-stream
Size: 401 bytes
Desc:
Url : http://dovecot.org/pipermail/dovecot/attachments/20080305/2ade2b19/attachment.obj
More information about the dovecot
mailing list