Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files:
sl_malloc.c 1.56 -> 1.57
Log Message:
ITS#6437, fixes for stack implementation of slap_sl_realloc():
Preserve 2*int alignment on hosts where sizeof(int) == sizeof(ber_len_t).
If realloc of last block falls back to ch_malloc, free last block properly.
Fix range check (ptr + size < endptr) --> (size < endptr - ptr).
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/sl_malloc.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files:
sl_malloc.c 1.52 -> 1.53
Log Message:
ITS#6437, slap_sl_mem_create():
Bugfix: Switching implementation stack<->pool on an old context could
crash or leak, it ran the wrong implementation's cleanup code.
Cleanup: Factor out identical stack/pool code. Call
slap_sl_mem_destroy(NULL,) instead of copying its pool code.
API change: slap_sl_mem_destroy(key=NULL,) gets a new meaning. Does
not affect current OpenLDAP code, it never passed NULL.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/sl_malloc.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.