[Dovecot] Segfault in Sieve 1.2

Stephan Bosch stephan at rename-it.nl
Mon Apr 6 01:47:39 EEST 2009


Hello Bernhard,

Bernhard Schmidt wrote:
> two days ago I've upgraded to 1.2rc2 and the new sieve implementation
> (version 0.1.4). Today I got the first mail that got stuck in the
> postfix queue because deliver was dying with a segfault.
> 
> The mail is spam, thus I don't have any issues sharing it:
> http://users.birkenwald.de/~berni/temp/deliver-segfault.mail
> 
> It happens with this small sieve script (my normal one is larger, but
> this is the part that triggers the segfault):
> http://users.birkenwald.de/~berni/temp/deliver-segfault.sieve
> 
> Note that I've been running this script unaltered for months, first with
> Dovecot 1.1 and CMUSieve and now with various versions of Dovecot 1.2
> and the new sieve implementation for about three weeks, this is the
> first mail that got stuck.
This is caused by address headers containing 'undisclosed-recipients:;' 
in combination with the subaddress extension. I fixed the issue, but I 
think I need to sort this out a little better to make sure this does not 
reoccur in similar situations.

Fixed:

http://hg.rename-it.nl/dovecot-libsieve/rev/ec78123ec073

Regards,

Stephan


More information about the dovecot mailing list