[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
openldap 2.1.4 fails on solaris (segmentation fault)
Hallo,
I tried to build openldap 2.1.4 on solaris, test001-rootdse failes,
ldapsearch produces segmentation fault. If looking in core with workshop segmentation fault happens in
(void)memset((char *)&sin, '\0', sizeof sin);
sin.sin_family = AF_INET;
sin.sin_port = htons((short) port);
p = (char *)&sin.sin_addr;
q = use_hp ? (char *)hp->h_addr_list[i] : (char *)&address;
AC_MEMCPY(p, q, sizeof(sin.sin_addr) );
osip_debug(ld, "ldap_connect_to_host: Trying %s:%d\n",
inet_ntoa(sin.sin_addr),port,0);
on line
q = use_hp ? (char *)hp->h_addr_list[i] : (char *)&address;
use_hp is 1
i is 0
hp->h_addr_list is NULL
Regards, Vadim Tarassov.
-------------------------------------------------------
Vadim Tarassov
e-Platform Solution Center
Telefon +41 52 261 73 22
Fax +41 52 261 46 40
mailto:vadim.tarassov@winterthur.ch
-------------------------------------------------------
Winterthur Versicherungen
General Guisan-Str. 40
8401 Winterthur
http://www.winterthur.com
-------------------------------------------------------