httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <>
Subject Re: util_ldap.c use of hardcoded sizelimit on ldap_search_ext_s causing error
Date Mon, 19 Feb 2007 16:29:24 GMT
On 2/15/07, David Jones <> wrote:
> Currently util_ldap.c has a hard coded -1 as the search limit value (meaning
> infinite/no limit) on ldap_search_ext_s() calls.  Some platforms cannot
> handle the -1, but need a 0.  Linux, zoS (and others) have a LDAP_NO_LIMIT
> value in ldap.h.
>  Below is a patch, allows those who have LDAP_NO_LIMIT value to take
> advantage of it, and others to continue using a -1 value.

patch committed to trunk and proposed for backport 2.2.x
my guess is that -1 is rarely/never the proper value, but that isn't
so easy to confirm; hopefully the symbol is always available in modern
SDK levels

View raw message