]> git.sur5r.net Git - openldap/commitdiff
ITS#5315
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:47:03 +0000 (23:47 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:47:03 +0000 (23:47 +0000)
CHANGES
libraries/libldap/pagectrl.c

diff --git a/CHANGES b/CHANGES
index da77cf5abacccfc0bec8cc756cadbf84863907bc..04efe554a787667c9f0d0948cd2018ec3f6464c4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ OpenLDAP 2.4.8 Engineering
        Fixed libldap filter abort (ITS#5300)
        Fixed libldap ldap_parse_sasl_bind_result (ITS#5263)
        Fixed libldap search timeout crash (ITS#5291)
+       Fixed libldap paged results crash (ITS#5315)
        Fixed ldapdelete with sizelimit (ITS#5294)
        Fixed slapd idlcache on adds (ITS#5086)
        Fixed slapd include handling (ITS#5276)
index 93222406b18421edb8e389b609a5f460b5f585fc..3ea8f298ad2eca3b9a3337f75018d03919e5ba64 100644 (file)
@@ -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 {