[Dovecot] Patch for assertion failure in 1.0.10

Timo Sirainen tss at iki.fi
Sat Jan 19 08:30:11 EET 2008


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: not available
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.bin 


More information about the dovecot mailing list