[exim-dev] [Bug 1108] ldap_set_option() called with int as t…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1108] ldap_set_option() called with int as third arg instead of void
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1108

Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pdp@???
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





--- Comment #2 from Phil Pennock <pdp@???> 2011-05-06 23:16:45 ---
There are a few other calls which don't use this type-cast. I suspect that the
failure is actually a promoted warning, fixed as PP/01 in the 4.76 release,
currently at RC1; it's a security critical fix, so your best bet is probably to
try 4.76_RC1 and see if that builds?

The actual fix in your patch is to use "&", which was missing from the patch
applied and not caught in review for 4.75, quickly fixed in 4.76. The explicit
void cast just masks such issues.

The relevant commit for this is 109066729a54f6ba5c4e8bc174133da33242e930:

http://git.exim.org/exim.git/commitdiff/109066729a54f6ba5c4e8bc174133da33242e930

So, fixed as duplicate of an issue which didn't have a tracking bug (sorry).


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