Ok. Looks valid enough.

Geo Carncross wrote:
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 */



--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to