[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7780) constraint_attribute <attr> <size|count> 0 cause segfault
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7780) constraint_attribute <attr> <size|count> 0 cause segfault
- From: hyc@symas.com
- Date: Fri, 19 Dec 2014 01:13:18 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
ondra@mistotebe.net wrote:
> On Wed, Dec 17, 2014 at 03:33:32PM +0000, hyc@symas.com wrote:
>> Hello Ondrej,
>> I tried your patch but it breaks test064-constraint.
>
> Hi Howard,
> there is useless code that caused it to read an unitialized variable. A
> fix removing that code is at
> ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20141218-ITS-7781.patch
>
> Thanks for identifying and fixing the problem in the meantime.
>
Ok. But looking at this patch, the lines in question actually are
needed, since they take care of errors in the cases for CONSTRAINT_COUNT
and CONSTRAINT_SET.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/