[Dovecot] dict: Leaked a t_pop() call in I/O handler

Timo Sirainen tss at iki.fi
Mon Dec 10 11:40:55 EET 2007


On Mon, 2007-12-10 at 10:20 +0100, Sergio Lopez wrote:
> ---- src/dict/dict-cache.c ----
> 
> Notice the "t_push()" call there. So calling t_pop() somewhere before
> the end of the function, makes dovecot work like a charm (again).

Fixed, thanks.

> P.D: I'm really surprised that nobody noticed this before. Am I
> the only man in the world who uses Dovecot storing quota information
> into a SQL Database? ;-)

Yes, you probably are. :) v1.0's dict implementation is a bit
inefficient and not entirely accurate when mailbox is updated
simultaneously by multiple processes.

-------------- 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/20071210/3802fc78/attachment.bin 


More information about the dovecot mailing list