[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: search_candidates on win32
> -----Original Message-----
> From: owner-openldap-devel@OpenLDAP.org
> [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Howard Chu
> Yes. We can walk the filter tree once beforehand to count its
> depth, and do
> a single malloc for that many IDLs all at once. Then advance along the
> memory
> as we descend into each filter evaluation. Also if the malloc
> fails, we know
> immediately that we can't handle the filter, so there's no
> surprise failures
> later on.
>
> -- Howard Chu
> Chief Architect, Symas Corp. Director, Highland Sun
> http://www.symas.com http://highlandsun.com/hyc
> Symas: Premier OpenSource Development and Support
So having patched this, I wonder if we need the 16MB thread stacks any more?