[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7666) segfault when searching regex minus than 3 characters over translucent



Full_Name: Ju
Version: openldap-2.4.35
OS: debian 6.0.7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.49.133.163)


Server crash with a segfault error 4 in libc-2.11.3.so when searching with
expression like "(attr=*123*)" over translucent (minus than 3 characteres)

I have custom attributes providen by translucent : 

slapd.conf :
[...]
index Application  eq,pres,sub

overlay         translucent
translucent_no_glue off
translucent_strict off
translucent_local Application

[..]

Schema : 

attributetype ( 1.3.6.1.4.1.10000.13.2.20
        NAME 'Application'
        DESC 'Acces sur les application'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )


ex :
ldapserch "(application=*1234*) -> OK
ldapserch "(application=*123*) -> Segfault
ldapserch "(application=*12*) -> Segfault
ldapserch "(application=*1*) -> Segfault


I'm I commited a misake or is there really a bug ? 

Thank you
Ju