Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 10:26:58 GMT
From:      Koichiro IWAO <meta@club.kyutech.ac.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/139813: [lib/OpenLDAP] ldap_set_option() causes segmentation fault on amd64
Message-ID:  <200910211026.n9LAQwpA001010@www.freebsd.org>
Resent-Message-ID: <200910211030.n9LAU28U014489@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910211026.n9LAQwpA001010>