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

(ITS#4028) slapd crashes upon assertion of a null value



Full_Name: Ali Pouya
Version: 2.3.7
OS: Linux Redhat Advanced Serveur 3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (145.242.3.30)


I use OpenLdap 2.3.7 with back-meta against an eDirectory target.
In the target directory there is an object with a null telephone number (with
length zreo, I know that this value should not be present).
When I do a search against this attribute slapd crashes.
The log below shows clearly what happens :
Best regards
Ali Pouya

====================
ber_scanf fmt ({m) ber:
ber_dump: buf=0x08222848 ptr=0x082228a5 end=0x082228bc len=23
  0000:  30 15 04 0f 74 65 6c 65  70 68 6f 6e 65 6e 75 6d   0...telephonenum
  0010:  62 65 72 31 02 04 00                               ber1...
ber_scanf fmt ([W]) ber:
ber_dump: buf=0x08222848 ptr=0x082228b8 end=0x082228bc len=4
  0000:  00 02 04 00                                        ....
slapd: schema_init.c:1843: telephoneNumberNormalize: Assertion `!((val)->bv_len
== 0)' failed.
Abandon