Commit 3116e7ca authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5762

parent c3d7919c
...@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log ...@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.13 Engineering OpenLDAP 2.4.13 Engineering
Fixed liblutil hex conversion (ITS#5699) Fixed liblutil hex conversion (ITS#5699)
Fixed libldap error code return (ITS#5762)
Added slapd dn.this ACL limits (ITS#5734) Added slapd dn.this ACL limits (ITS#5734)
Fixed slapd nameUIDPretty bitstring parsing (ITS#5750) Fixed slapd nameUIDPretty bitstring parsing (ITS#5750)
Fixed slapd overlay/database open with real structure (ITS#5724) Fixed slapd overlay/database open with real structure (ITS#5724)
......
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
* *
* Copyright 1998-2008 The OpenLDAP Foundation. * Copyright 1998-2008 The OpenLDAP Foundation.
...@@ -71,6 +72,7 @@ ldap_create_page_control_value( ...@@ -71,6 +72,7 @@ ldap_create_page_control_value(
value->bv_val = NULL; value->bv_val = NULL;
value->bv_len = 0; value->bv_len = 0;
ld->ld_errno = LDAP_SUCCESS;
if ( cookie == NULL ) { if ( cookie == NULL ) {
cookie = &null_cookie; cookie = &null_cookie;
......
...@@ -304,6 +304,7 @@ ldap_create_sort_control_value( ...@@ -304,6 +304,7 @@ ldap_create_sort_control_value(
value->bv_val = NULL; value->bv_val = NULL;
value->bv_len = 0; value->bv_len = 0;
ld->ld_errno = LDAP_SUCCESS;
ber = ldap_alloc_ber_with_options( ld ); ber = ldap_alloc_ber_with_options( ld );
if ( ber == NULL) { if ( ber == NULL) {
......
...@@ -60,6 +60,7 @@ param_error:; ...@@ -60,6 +60,7 @@ param_error:;
} }
assert( LDAP_VALID( ld ) ); assert( LDAP_VALID( ld ) );
ld->ld_errno = LDAP_SUCCESS;
/* check sizes according to I.D. */ /* check sizes according to I.D. */
if ( sessionSourceIp == NULL ) { if ( sessionSourceIp == NULL ) {
......
...@@ -101,6 +101,7 @@ ldap_create_vlv_control_value( ...@@ -101,6 +101,7 @@ ldap_create_vlv_control_value(
value->bv_val = NULL; value->bv_val = NULL;
value->bv_len = 0; value->bv_len = 0;
ld->ld_errno = LDAP_SUCCESS;
ber = ldap_alloc_ber_with_options( ld ); ber = ldap_alloc_ber_with_options( ld );
if ( ber == NULL ) { if ( ber == NULL ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment