https://bugs.openldap.org/show_bug.cgi?id=10175
--- Comment #5 from Vivek S bluesoulprince@gmail.com --- Hi,
No we do not run any test suite during OpenLDAP build. Also, we narrowed down the problematic area in OpenLDAP's tls2.c file. Below is the impacted code snippet:
ldap_int_tls_init_ctx() { ... lo->ldo_tls_ctx = ti->ti_ctx_new( lo ); //lo, ti not NULL here if ( lo->ldo_tls_ctx == NULL ) { //This condition returns true Debug0( LDAP_DEBUG_ANY, "TLS: could not allocate default ctx.\n" ); rc = -1; goto error_exit; }
The conditional check fails only for application run built over GCC 10.3.0. Can you please provide any leads?
Thanks, Vivek