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

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



theju@yopmail.com wrote:
> 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)

Please provide the full stack trace from the crash.
http://www.openldap.org/faq/data/cache/59.html

I see no crash here, please provide a more complete slapd.conf and sample LDIF 
to reproduce the crash.

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


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/