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

Re: ITS#5212 command that caused the crash



Howard Chu skrev, on 08-11-2007 14:38:

>> Howard Chu skrev, on 07-11-2007 04:14:
> 
>>> That's all we needed. Fixed now in HEAD.
>>
>> Do you happen to have a patch handy? I don't feel like waiting for
>> 2.4.7, this is the only serious bug I've found to date with 2.4.6.
> 
> http://www.openldap.org/lists/openldap-commit/200711/msg00010.html

Thank you :) I made a patch from a diff -Naur of the complete CVS 
filter.c and the 2.4.6 one, incorporated it into Buchan's rpm spec file, 
rebuilt the rpms, installed them and ran the same command. Guess what? 
slapd2.4 doesn't report '?undefined' any more, nor crash:

Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 fd=14 ACCEPT from 
PATH=/var/run/slapd/ldapi (PATH=/var/run/slapd/ldapi)
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=0 BIND 
dn="cn=admin,dc=billy,dc=demon,dc=nl" method=128
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=0 BIND 
dn="cn=admin,dc=billy,dc=demon,dc=nl" mech=SIMPLE ssf=0
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=0 RESULT tag=97 err=0 text=
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=1 SRCH 
base="dc=billy,dc=demon,dc=nl" scope=2 deref=0 filter="(?facsimileTele
phoneNumber=+4753491111)"
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=1 SRCH 
attr=facsimileTelephoneNumber
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=1 SEARCH RESULT tag=101 
err=0 nentries=0 text=inappropriate matching request
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 op=2 UNBIND
Nov  9 06:36:56 tru slapd2.4[2576]: conn=21 fd=14 closed

--Tonni

-- 
Tony Earnshaw
Email: tonni at hetnet dot nl