11 Aug
2009
11 Aug
'09
1:27 p.m.
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