[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3732) -DNEW_LOGGING bug (core dumped) in saslauthz.c slap_sasl_check_authz()



Full_Name: Artyom A. Konovalenko
Version: 2.2.26
OS: FreeBSD 5.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (82.162.161.178)


When compiled with -DLDAP_DEBUG and -DNEW_LOGGING core dumped while authorizing
sasl.
Invalid format string for __vfprintf, used %s instead of %d, argument 2.

Look to code:
servers/slapd/saslauthz.c:839
#ifdef NEW_LOGGING
        LDAP_LOG( TRANSPORT, RESULTS,
                "slap_sasl_check_authz: %s check returning %s\n",
                ad->ad_cname.bv_val, rc, 0 );
#else
        Debug( LDAP_DEBUG_TRACE,
           "<==slap_sasl_check_authz: %s check returning %d\n",
                ad->ad_cname.bv_val, rc, 0);
#endif