Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files:
sl_malloc.c 1.61 -> 1.62
Log Message:
ITS#6437, follow up previous fixes:
Ensure Align >= sizeof(ber_len_t), to clarify the code's requirements.
Rearrange a slap_sl_malloc() branch to factor out ch_malloc fallbacks.
Fix range check (ptr+size >= endptr) -> (size >= endptr-ptr). Fix debug msg.
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.58 -> 1.59
Log Message:
ITS#6437, failure/fallback/debug handling:
slap_sl_malloc could return failure. Exit instead, like the rest of sl_malloc.
Since we increase size, reduce it before Debug() and/or fallback to ch_malloc.
Debug() before exit() on failure. Tweak debug formats and a comment.
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.