[exim-dev] [Bug 871] New: Exim mis-uses db1.x API by assumin…

Góra strony
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
Dla: exim-dev
Nowe tematy: [exim-dev] [Bug 871] Exim mis-uses db1.x API by assuming constant values
Temat: [exim-dev] [Bug 871] New: Exim mis-uses db1.x API by assuming constant values
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=871
           Summary: Exim mis-uses db1.x API by assuming constant values
           Product: Exim
           Version: N/A
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
        AssignedTo: nigel@???
        ReportedBy: exim-dev@???
                CC: exim-dev@???



Reported and diagnosed by Artis Caune, mail to exim-users:
Subject: Re: [exim] Exim with FreeBSD 8, dbm loop
Date: Thu, 30 Jul 2009 08:32:07 +0300
Message-ID: <9e20d71e0907292232u586f73l447c832e2a94a63@???>

dbstuff.h EXIM_DBSCAN definition for db 1.x uses a ->seq() flag value of 0 for
the next item; with FreeBSD 8, this breaks and leads to memory exhaustion.

Attached patch should be portable, unless someone knows of a conflicting
definition for R_NEXT on other platforms. Patch preserves existing behaviour
unless R_NEXT is defined.

This should probably go in for 4.70


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email