Issue 739 - assertion error in slapd
Summary: assertion error in slapd
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-12 23:10 UTC by ariedrec@esoterica.pt
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Zeilenga 2000-09-12 17:08:38 UTC
moved from Incoming to Software Bugs
Comment 1 Kurt Zeilenga 2000-09-12 17:09:05 UTC
changed notes
changed state Open to Release
Comment 2 ariedrec@esoterica.pt 2000-09-12 23:10:08 UTC
Full_Name: J. Cameijo Cerdeira
Version: 2.0.1
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.198.242.61)


Hello,

slapd [in openldap 2.0.1] aborts with the following assrtion error:
slapd: schema_init.c:601: IA5StringNormalize: Assertion `p <= q' failed.       


I was performing a search with the following filter
(authmail=daniel*)

And the offending attribute value, as far as i can tell, by setting the debug
mode to -1 is:
authmail: vanessacoelho37@hotmail.pt  ail.

note the extra space before the string 'ail.' It is certainly a typo in my
database but anyway slapd should abort. I believe the assert(p <= q) macro call
in the code is wrong.

Comment 3 Kurt Zeilenga 2000-09-12 23:33:08 UTC
At 11:10 PM 9/12/00 +0000, ariedrec@esoterica.pt wrote:
>Full_Name: J. Cameijo Cerdeira
>Version: 2.0.1
>OS: linux
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (209.198.242.61)
>
>
>Hello,
>
>slapd [in openldap 2.0.1] aborts with the following assrtion error:
>slapd: schema_init.c:601: IA5StringNormalize: Assertion `p <= q' failed.       

This is a bug.  The assert should be
        assert( q <= p );

Same bug can be found directoryStringNormalize.



>I was performing a search with the following filter
>(authmail=daniel*)
>
>And the offending attribute value, as far as i can tell, by setting the debug
>mode to -1 is:
>authmail: vanessacoelho37@hotmail.pt  ail.
>
>note the extra space before the string 'ail.' It is certainly a typo in my
>database but anyway slapd should abort. I believe the assert(p <= q) macro call
>in the code is wrong.

Comment 4 Kurt Zeilenga 2000-09-14 22:39:28 UTC
changed notes
changed state Release to Closed
Comment 5 Kurt Zeilenga 2002-06-18 20:30:38 UTC
moved from Software Bugs to Archive.Software Bugs
Comment 6 OpenLDAP project 2014-08-01 21:06:54 UTC
fixed in devel
fixed in re20