https://bugs.openldap.org/show_bug.cgi?id=9541
--- Comment #1 from brecht@sanders.org --- I also found that 1 call to ch_calloc() in servers/slapd/daemon.c was missing a parameter.
# fix servers/slapd/daemon.c (version >= 2.5.4) patch -ulbf servers/slapd/daemon.c << EOF @@ -1486,3 +1486,3 @@ for ( i = 0; i<n; i++ ) { - sap[i] = ch_calloc(sizeof(struct sockaddr_in)); + sap[i] = ch_calloc(1, sizeof(struct sockaddr_in)); sap[i]->sa_family = AF_INET; EOF