Bug #1578
closedldap_init implicitly converted to pointer
Description
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463368
Our automated buildd log filterr1 detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.
This is often due to a missing function prototype definition.
For more information, see r2.
r1 http://people.debian.org/~dannf/check-implicit-pointer-functions
r2 http://wiki.debian.org/ImplicitPointerConversions
Function `ldap_init' implicitly converted to pointer at mod_auth.c:545
Function `ldap_init' implicitly converted to pointer at http_auth.c:785
The libldap API has been updated and many functions used by the ldap
plugin are now deprecated. This package should either update to the
new API or define LDAP_DEPRECATED to continue using the deprecated
interfaces.
This patch implements the lazy solution.
--- lighttpd-1.4.18.orig/src/http_auth.h 2007-01-14 02:40:02.000000000 -0700
+++ lighttpd-1.4.18/src/http_auth.h 2008-01-30 23:40:53.000000000 -0700@ -6,6 +6,7
@
- define USE_LDAP
+# define LDAP_DEPRECATED 1 - include <ldap.h>
#endif
Updated by stbuehler about 16 years ago
- Status changed from New to Fixed
- Resolution set to fixed
"Fixed" in r2614
Also available in: Atom