On Thu, May 07, 2020 at 08:06:00AM -0400, Eric Covener wrote:
> On Thu, May 7, 2020 at 2:04 AM Ruediger Pluem <[email protected]> wrote:
> > Not looked at the problem further, but there is now a PR for this:
> >
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=64414
> >
> > Maybe this revives the discussion :-)
> 
> Nothing stood out in the source, is it OK to hash a pointer just by
> passing APR_SIZEOF_VOIDP as the length?

I don't see why not.

Better question... or stupider question?  For "modern" OpenLDAP where 
ldap_set_rebind_proc takes a void *, this linked list cache is 
completely redundant and you can "simply" pass the (bindDN, bindPW) 
through to the rebind callback via the void *, and that will work 
correctly?



Reply via email to