[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6732) ber_errno issues in liblber/memory.c

Full_Name: Hallvard B Furuseth
Version: 4.2.23
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hallvard

With LDAP_MEMORY_DEBUG, ber_memalloc_x() and ber_memcalloc_x()
do not set ber_errno = LBER_ERROR_MEMORY on failure.

OTOH a number of memory.c functions set ber_errno = LBER_ERROR_MEMORY
when they do not need to, after ber_memalloc & co already set it.