[Dovecot] dovecot 1.2.3: TB fails to unsubscribe folder after deletion

Max Dittrich max.dittrich at t-online.de
Tue Aug 11 13:27:26 EEST 2009


Max Dittrich wrote:
> I'm not very familiar with C programming but while tracing

qed

> cmd_subscribe_full() I stumbled upon another thing. In
> mail_namespace_find_mask() (lib-storage/mail-namespace.c at line 413)
> mailbox is reassigned with a local string (not t_strduped). I think this
> might be a problem when mailbox is dereferenced after returning from
> that function?!

Looks like the string "INBOX" isn't allocated from the stack. ;)

.max






More information about the dovecot mailing list