On Jul 20, 2007, at 3:31 PM, Howard Chu wrote:
> pturgyan(a)umich.edu wrote:
>> Full_Name: Paul Turgyan
>> Version: 2.3.35
>> OS: linux 2..6.18 from source URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (141.213.231.171)
>> When calling ldap_add_result_entry with an empty list or when
>> starting a new
>> list, ldap_add_result_entry crashes
>> with a SEGFAULT at line 67.
>> Here is a patch:
>
> A different fix is now in HEAD, please test.
>
> --
> -- Howard Chu
> Chief Architect, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
Works for me! Thanks.
pturgyan(a)umich.edu wrote:
> Full_Name: Paul Turgyan
> Version: 2.3.35
> OS: linux 2..6.18 from source
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (141.213.231.171)
>
>
> When calling ldap_add_result_entry with an empty list or when starting a new
> list, ldap_add_result_entry crashes
> with a SEGFAULT at line 67.
>
> Here is a patch:
A different fix is now in HEAD, please test.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Paul Turgyan
Version: 2.3.35
OS: linux 2..6.18 from source
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (141.213.231.171)
When calling ldap_add_result_entry with an empty list or when starting a new
list, ldap_add_result_entry crashes
with a SEGFAULT at line 67.
Here is a patch:
*** addentry.c Tue Jan 2 16:43:48 2007
--- addentry.c+ Fri Jul 20 13:48:41 2007
***************
*** 64,69 ****
--- 64,72 ----
assert( e != NULL );
e->lm_chain = *list;
+ if (*list)
e->lm_chain_tail = (*list)->lm_chain_tail;
+ else
+ e->lm_chain_tail = NULL;
*list = e;
}
<quote who="hyc(a)symas.com">
> ghenry(a)OpenLDAP.org wrote:
>> Full_Name: Gavin Henry
>> Version: HEAD
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (80.229.93.1)
>> Submitted by: ghenry
>>
>>
>> Dear All,
>>
>> It's not clear or explained what AVA means in slapd-meta(5) and
>> slapo-rwm(5)
>
> Standard terminology in X.500/LDAP. "Attribute Value Assertion"
>>
>> A user was asking in #ldap
>>
>> I presume it means "Attribute Value"?
>>
>> If so, I will add an explaination in each man page.
>
> OpenLDAP docs are not intended to explain the basics of LDAP. You're
> expected
> to already know LDAP or refer to the RFCs for basic terminology.
Closing ITS.
>
> --
> -- Howard Chu
> Chief Architect, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
>
>
>
quanah(a)zimbra.com wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.3.34
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (71.202.148.128)
>
>
> If a database has a zero-length suffix, the NULL context entry gets an entry ID
> of zero, which is usually an invalid ID number and always omitted from indexing.
> But it looks like with slapadd -q, it is possible for this entry to get
> included in various indices, which will totally confuse them.
>
> (per Howard)
I actually filed this already instead of waiting for you (ITS#5052). A patch is
already in HEAD for testing. This ITS will be closed.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
ghenry(a)OpenLDAP.org wrote:
> Full_Name: Gavin Henry
> Version: HEAD
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (80.229.93.1)
> Submitted by: ghenry
>
>
> Dear All,
>
> It's not clear or explained what AVA means in slapd-meta(5) and slapo-rwm(5)
Standard terminology in X.500/LDAP. "Attribute Value Assertion"
>
> A user was asking in #ldap
>
> I presume it means "Attribute Value"?
>
> If so, I will add an explaination in each man page.
OpenLDAP docs are not intended to explain the basics of LDAP. You're expected
to already know LDAP or refer to the RFCs for basic terminology.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Quanah Gibson-Mount
Version: 2.3.34
OS: NA
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (71.202.148.128)
If a database has a zero-length suffix, the NULL context entry gets an entry ID
of zero, which is usually an invalid ID number and always omitted from indexing.
But it looks like with slapadd -q, it is possible for this entry to get
included in various indices, which will totally confuse them.
(per Howard)
--Quanah
<quote who="Ralf Haferkamp">
> On Friday 20 July 2007 16:45, ghenry(a)openldap.org wrote:
>> Full_Name: Gavin Henry
>> Version: HEAD
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (80.229.93.1)
>> Submitted by: ghenry
>>
>>
>> Dear All,
>>
>> It's not clear or explained what AVA means in slapd-meta(5) and
>> slapo-rwm(5)
>>
>> A user was asking in #ldap
>>
>> I presume it means "Attribute Value"?
> It means "Attribute Value Assertion", normally.
Doh, helped if I read the RFCs.
Oh but look who has a nice page in it:
https://www.opends.org/wiki//page/DefinitionAttributeValueAssertion
Maybe we need a nice OpenLDAP Wiki? (one for -devel list I think)
>
>> If so, I will add an explaination in each man page.
>
> --
> Ralf
>
On Friday 20 July 2007 16:45, ghenry(a)openldap.org wrote:
> Full_Name: Gavin Henry
> Version: HEAD
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (80.229.93.1)
> Submitted by: ghenry
>
>
> Dear All,
>
> It's not clear or explained what AVA means in slapd-meta(5) and
> slapo-rwm(5)
>
> A user was asking in #ldap
>
> I presume it means "Attribute Value"?
It means "Attribute Value Assertion", normally.
> If so, I will add an explaination in each man page.
--
Ralf
Full_Name: Gavin Henry
Version: HEAD
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (80.229.93.1)
Submitted by: ghenry
Dear All,
It's not clear or explained what AVA means in slapd-meta(5) and slapo-rwm(5)
A user was asking in #ldap
I presume it means "Attribute Value"?
If so, I will add an explaination in each man page.
Gavin.