https://bugs.openldap.org/show_bug.cgi?id=9904
--- Comment #4 from Howard Chu hyc@openldap.org --- (In reply to 1157401338 from comment #2)
thank you for your effort.
similar potential bug of NPD can be found in master/libraries/libldap/url.c,definition of function "ldap_url_parsehosts"
Thanks, fixed in master. Note that this function is obsolete and the only thing that uses it was deprecated long ago.