ghenry@suretecsystems.com wrote:
In libraries/libldap/url.c, function ldap_url_desc2str, there are a
couple of
sprintfs that use %n in their format strings to return position information. The latest Windows SDKs have heavily deprecated %n and its use now results in an unfortunate access violation and process crash.
ldap_url_desc2str calls desc2str, which is where the sprintfs are.
There's actually only one in an if/else in that function.
This is the same for the latest 2.3 libldap and 2.4 libldap
but this doesn't really answer your question.
Already fixed in HEAD.