A vulnerability was found in openldap. This security flaw causes a null pointer dereference in ber_memalloc_x() function.