sieve scripts not synching for 2.3.5.1 pre-built

Jan-Pieter Cornet johnpc at xs4all.net
Wed Apr 3 11:37:41 EEST 2019


On 2-4-19 21:51, Timo Sirainen via dovecot wrote:
>> Looks like this is trivial to reproduce. It used to work still in v2.3.1, but then something broke it. Tracking internally in DOP-1062.
> 
> Reverting https://github.com/dovecot/pigeonhole/commit/479c5e57046dec76078597df844daccbfc0eb75f fixes this.

Looks like that last patch segments puts the arguments to str_begin in the wrong order...
strncmp(prefix, MAILBOX_ATTRIBUTE_PREFIX_SIEVE, strlen(prefix)) == 0
should be translated to:
str_begins(MAILBOX_ATTRIBUTE_PREFIX_SIEVE, prefix)

-- 
Jan-Pieter Cornet <johnpc at xs4all.net>
Systeembeheer XS4ALL Internet bv
www.xs4all.nl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190403/abf1e8b5/attachment.sig>


More information about the dovecot mailing list