misc/139813: [lib/OpenLDAP] ldap_set_option() causes segmentation fault on amd64

Koichiro IWAO meta at club.kyutech.ac.jp
Wed Oct 21 10:30:03 UTC 2009


>Number:         139813
>Category:       misc
>Synopsis:       [lib/OpenLDAP] ldap_set_option() causes segmentation fault on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 21 10:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Koichiro IWAO
>Release:        7.2-RELEASE ¡Êamd64)
>Organization:
Kyushu Institute of Technology
>Environment:
FreeBSD kephir.club.kyutech.ac.jp 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  8 13:14:34 UTC 2009     root at kephir.club.kyutech.ac.jp:/usr/src/sys/amd64/compile/METAKERNEL  amd64
>Description:
I got a segmentation fault using ldap_set_option() function, OpenLDAP library.
The program is properly working on i386 architecture 7.2-RELASE but on amd64
architecture, ldap_set_option() causes segmentation fault.
>How-To-Repeat:
Please modify LDAP server URI and BaseDN which are hard coded in the program.
Then just compile the test program, and execute it.

$ gcc -g -Wall -I/usr/local/include -L/usr/local/lib -lldap auth-ldap-test.c -o auth-ldap-test
$ ./auth-ldap-test
user name? meta
password? foobarbuzz
Segmentation fault: 11
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list