Performing a "SEARCH" operation on an empty mailbox causes dbmail to incorrectly report an out-of-memory condition.
--- imaputil.c 2005/02/07 12:15:55 1.102 +++ imaputil.c 2005/02/21 19:08:17 @@ -1583,6 +1583,8 @@ unsigned int *newset = NULL; int subtype = IST_SUBSEARCH_OR; + if (!setlen) return 0; + if (!rset) { trace(TRACE_ERROR,"%s,%s: error empty rset", __FILE__, __func__); return -2; /* stupidity */ -- Internet Connection High Quality Web Hosting http://www.internetconnection.net/