Hello community, here is the log from the commit of package openldap2 checked in at Thu Jan 10 02:35:51 CET 2008. -------- --- openldap2/openldap2.changes 2007-12-14 13:55:45.000000000 +0100 +++ /mounts/work_src_done/STABLE/openldap2/openldap2.changes 2008-01-09 13:30:48.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Jan 9 13:29:33 CET 2008 - rhafer@suse.de + +- Fixed allocation for paged results cookie (Bug #352255, ITS#5315) + +------------------------------------------------------------------- openldap2-client.changes: same change New: ---- libldap-pagedresults.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openldap2-client.spec ++++++ --- /var/tmp/diff_new_pack.qF2457/_old 2008-01-10 02:34:56.000000000 +0100 +++ /var/tmp/diff_new_pack.qF2457/_new 2008-01-10 02:34:56.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package openldap2-client (Version 2.4.7) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -28,7 +28,7 @@ %endif AutoReqProv: on Version: 2.4.7 -Release: 2 +Release: 6 Source: openldap-%{version}.tar.bz2 Source1: openldap-rc.tgz Source2: addonschema.tar.gz @@ -43,6 +43,7 @@ Patch6: libldap-gethostbyname_r.dif Patch7: pie-compile.dif Patch8: slapd_getaddrinfo_dupl.dif +Patch9: libldap-pagedresults.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -117,6 +118,7 @@ %patch6 %patch7 %patch8 -p1 +%patch9 -p1 %build %{?suse_update_config:%{suse_update_config -f build}} @@ -346,6 +348,8 @@ %endif %changelog +* Wed Jan 09 2008 - rhafer@suse.de +- Fixed allocation for paged results cookie (Bug #352255, ITS#5315) * Fri Dec 14 2007 - rhafer@suse.de - Update to Version 2.4.7. Most important changes: * Added slapd ordered indexing of integer attributes (ITS#5239) openldap2.spec: same change ++++++ libldap-pagedresults.dif ++++++ 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 { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org