On Fri, 2008-01-18 at 19:04 -0500, Richard Platel wrote:> Hi
>
> FETCHing a largish (~30K) zlib compressed maildir message causes an
> assertion failure on an attempt to grow the stream buffer to smaller
> than its current size.
>
> I believe the attached patch fixes this.
I fixed it a bit differently:
http://hg.dovecot.org/dovecot/rev/e33119f2dfdc
It was allocating more memory even though there was no need for it after
compress.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20080119/dfc36602/attachment-0002.bin>