You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2024/10/14 14:12:00 UTC
[jira] [Resolved] (DIRAPI-406) Identical Branches in Conditional Node in `action` Method
[ 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 ([p.nekrasov@fobos-nt.ru|mailto:p.nekrasov@fobos-nt.ru]).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org