https://bugs.openldap.org/show_bug.cgi?id=9904
--- Comment #2 from 1157401338@qq.com --- 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"
step1: use strdup
step2: assign return value to field ludp->lud_host at line 1399
step3: derefer field ludp->lud_host in a call at 1432
code can be found in url (https://git.openldap.org/openldap/openldap/-/blob/master/libraries/libldap/u...)