[
https://issues.apache.org/jira/browse/DIRAPI-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny resolved DIRAPI-406.
--------------------------------------
Fix Version/s: 2.1.8
Resolution: Fixed
Fix with commit 45c71910fce49ed5fc9a1d375b11c65ee0ed5a17
Thanks!
> Identical Branches in Conditional Node in `action` Method
> ---------------------------------------------------------
>
> Key: DIRAPI-406
> URL: https://issues.apache.org/jira/browse/DIRAPI-406
> Project: Directory Client API
> Issue Type: Bug
> Reporter: Pavel Nekrasov
> Priority: Minor
> Fix For: 2.1.8
>
>
> In the `action` method of the `StoreSearchRequestBaseObject` class, the
> branches within the conditional check for `dnFactory` are identical, as both
> branches create a new `Dn` object with the same `dnStr` parameter.
> You can view the code here:
> [StoreSearchRequestBaseObject.java|https://github.com/apache/directory-ldap-api/blob/780a9e65bd2e5f404f9afc96465edb3592488ae7/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/actions/request/search/StoreSearchRequestBaseObject.java#L88-L95].
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> Reporter: Pavel Nekrasov
> ([[email protected]|mailto:[email protected]]).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]