New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DS crash in deref plugin while dereferencing an entry that exists but that is not returned by internal search #4521
Milestone
Comments
tbordaz
added a commit
to tbordaz/389-ds-base
that referenced
this issue
Jan 11, 2021
…t is not returned by internal search Bug description: For each returned entry, deref plugin dereferences some attribute values that refer to entries. To do this it does an internal search (scope base) with each attribute values. Deref plugin assumes that if internal search succeeds, a single entry is returned. It exists cases (not identified) where internal search succeeds but returns no entry. In such case (search succeeds but no entry returned) the server crash. Note: wonder if DB deadlock could lead to such situation. Fix description: Make a hardening fix that logs warning in such case relates: 389ds#4521 Reviewed by: Mark Reynolds (thanks) Platforms tested: F31
tbordaz
added a commit
that referenced
this issue
Jan 11, 2021
…t is not returned by internal search (#4525) Bug description: For each returned entry, deref plugin dereferences some attribute values that refer to entries. To do this it does an internal search (scope base) with each attribute values. Deref plugin assumes that if internal search succeeds, a single entry is returned. It exists cases (not identified) where internal search succeeds but returns no entry. In such case (search succeeds but no entry returned) the server crash. Note: wonder if DB deadlock could lead to such situation. Fix description: Make a hardening fix that logs warning in such case relates: #4521 Reviewed by: Mark Reynolds (thanks) Platforms tested: F31
tbordaz
added a commit
that referenced
this issue
Jan 11, 2021
…t is not returned by internal search (#4525) Bug description: For each returned entry, deref plugin dereferences some attribute values that refer to entries. To do this it does an internal search (scope base) with each attribute values. Deref plugin assumes that if internal search succeeds, a single entry is returned. It exists cases (not identified) where internal search succeeds but returns no entry. In such case (search succeeds but no entry returned) the server crash. Note: wonder if DB deadlock could lead to such situation. Fix description: Make a hardening fix that logs warning in such case relates: #4521 Reviewed by: Mark Reynolds (thanks) Platforms tested: F31
tbordaz
added a commit
that referenced
this issue
Jan 11, 2021
…t is not returned by internal search (#4525) Bug description: For each returned entry, deref plugin dereferences some attribute values that refer to entries. To do this it does an internal search (scope base) with each attribute values. Deref plugin assumes that if internal search succeeds, a single entry is returned. It exists cases (not identified) where internal search succeeds but returns no entry. In such case (search succeeds but no entry returned) the server crash. Note: wonder if DB deadlock could lead to such situation. Fix description: Make a hardening fix that logs warning in such case relates: #4521 Reviewed by: Mark Reynolds (thanks) Platforms tested: F31
tbordaz
added a commit
that referenced
this issue
Jan 11, 2021
…t is not returned by internal search (#4525) Bug description: For each returned entry, deref plugin dereferences some attribute values that refer to entries. To do this it does an internal search (scope base) with each attribute values. Deref plugin assumes that if internal search succeeds, a single entry is returned. It exists cases (not identified) where internal search succeeds but returns no entry. In such case (search succeeds but no entry returned) the server crash. Note: wonder if DB deadlock could lead to such situation. Fix description: Make a hardening fix that logs warning in such case relates: #4521 Reviewed by: Mark Reynolds (thanks) Platforms tested: F31
tbordaz
changed the title
DS crash in deref plugin while dereferencing an attribute with invalid value
DS crash in deref plugin while dereferencing an entry that exists but that is not returned by internal search
Jan 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
Deref control dereference a set of attributes that are present in the returned set of entries. Each attribute value is assume to be a DN of an entry. if for some reason the deref plugin can not retrieve (internal search) the entry, the server crash.
Package Version and Platform:
all versions
Steps to Reproduce
Testcase to be provided
Expected results
The deref control should be handled without a crash even if the returned entries a corrupted
The text was updated successfully, but these errors were encountered: