forked from pool/openldap2
14 lines
569 B
Plaintext
14 lines
569 B
Plaintext
Index: openldap-2.4.7/libraries/libldap/pagectrl.c
|
|
===================================================================
|
|
--- openldap-2.4.7.orig/libraries/libldap/pagectrl.c
|
|
+++ openldap-2.4.7/libraries/libldap/pagectrl.c
|
|
@@ -256,7 +256,7 @@ ldap_parse_page_control(
|
|
|
|
ld->ld_errno = ldap_parse_pageresponse_control( ld, c, countp, &cookie );
|
|
if ( ld->ld_errno == LDAP_SUCCESS ) {
|
|
- *cookiep = LDAP_MALLOC( sizeof( struct berval * ) );
|
|
+ *cookiep = LDAP_MALLOC( sizeof( struct berval ) );
|
|
if ( *cookiep == NULL ) {
|
|
ld->ld_errno = LDAP_NO_MEMORY;
|
|
} else {
|