Okay, the cause of this issue is now clear:util_ald_create_caches() does not set 'newcurl' to anything when any of the caches are null, which they all are when they're sized at zero.The fix is also simple: add an 'else newcurl = NULL;' after the 'if' block in this routine. [This really drives home why I have developed in Java for the last 5 years after spending 7+ years doing C and C++. This issue could not have occured in Java -- the compiler would have rejected the issue. I'm not saying the extra speed, etc, due to Apache being written in C is not nice. Nor due I wish to start some holy war. It's just that the lack of pointer / memory allocation issues, uninitialized variables, and not having to produce one's own APR to deal with platforms make Java a much more productive place for me.] -- Jess Holle Jess Holle wrote:
|
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Graham Leggett
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Graham Leggett
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Graham Leggett
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle
- Re: Apache 2.0.51 util_ldap Jess Holle