[Issue 10144] Buffer overwrite in ldap_dn2bv_x