Hi! this is Reinin Oyama from Japan.
I found a BUG in Courier-IMAP maildir/maildirpurgetmp.c in line 98 -
106.
if pointer p is set p=m
then
"Not INITIALIZED" malloced memory is strcmped in function
maildirquota_countfolder!
And
if (!m) return;
Statement is "The DAY after THE FAIR!" if malloc is failed!
Please correct them like follows!
if (!m) return;
p=strrchr(maildir, '/');
if (p)
++p;
else{
p=m;
p[0]=0;
}
adjustquota=maildirquota_countfolder(p);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users