Hide Forgot
Description of problem: --- a/openldap-2.4.23/libraries/libldap/tls_m.c +++ b/openldap-2.4.23/libraries/libldap/tls_m.c @@ -2284,7 +2284,7 @@ tlsm_is_non_ssl_message } if ( p->firsttag == LBER_SEQUENCE ) { - if ( *thebyte ) { + if ( thebyte ) { *thebyte = p->firsttag; } return 1; @@ -2781,7 +2781,7 @@ tlsm_PR_GetSocketOption struct tls_data *p; p = tlsm_get_pvt_tls_data( fd ); - if ( !data ) { + if ( !p || !data ) { return PR_FAILURE; } Version-Release number of selected component (if applicable): openldap-2.4.23-9.el6
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: - rebased OpenLDAP installed - possible NULL pointer dereference in patch we introduced (openldap-nss-non-blocking.patch) could cause Segmentation Fault when working with TLS - patch was updated - openldap-nss-non-blocking.patch does not add NULL pointer dereference
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0673.html