[Dovecot] possible bug in lib-mail source

Timo Sirainen tss at iki.fi
Thu Apr 23 19:02:50 EEST 2009


On Thu, 2009-04-23 at 10:29 +0200, Johann Klasek wrote:
> --- dovecot-1.2.rc3/src/lib-mail/message-header-parser.c.orig   2009-01-07 19:33:26.000000000 +0100
> +++ dovecot-1.2.rc3/src/lib-mail/message-header-parser.c        2009-04-23 09:53:08.000000000 +0200
> @@ -284,7 +284,7 @@
>                            Exception to this is if the value consists only of
>                            LWSP, then skip only the one LWSP after ':'. */
>                         for (pos = 0; pos < line->value_len; pos++) {
> -                               if (!IS_LWSP(line->value[0]))
> +                               if (!IS_LWSP(line->value[pos]))
>                                         break;
>                         }

Thanks, committed: http://hg.dovecot.org/dovecot-1.2/rev/c8de2237478f

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090423/26624b90/attachment.bin 


More information about the dovecot mailing list