[jira] [Created] (DIRSERVER-2401) Handle leak
Artemii created DIRSERVER-2401: -- Summary: Handle leak Key: DIRSERVER-2401 URL: https://issues.apache.org/jira/browse/DIRSERVER-2401 Project: Directory ApacheDS Issue Type: Bug Reporter: Artemii The handle _socket_ is created by calling function in line №254 and lost after the function is executed. [Link|https://github.com/apache/directory-server/blob/c347daec5cc1b14d98de01395c8be892b3db0c04/service/src/main/java/org/apache/directory/server/UberjarMain.java#L236] to this function. I consider it could be a handle leak. Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. Author A. Voronin (a.voro...@fobos-nt.ru). -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org
[jira] [Created] (DIRSERVER-2400) Comparison of String objects
Artemii created DIRSERVER-2400: -- Summary: Comparison of String objects Key: DIRSERVER-2400 URL: https://issues.apache.org/jira/browse/DIRSERVER-2400 Project: Directory ApacheDS Issue Type: Bug Reporter: Artemii Comparison of String objects using == or != in function *computeSubLevelScope* in line №509. [Link|https://github.com/apache/directory-server/blob/c347daec5cc1b14d98de01395c8be892b3db0c04/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java#L503] to this function. I consider it necessary to clarify with the developers if they expect a comparison of string literals or pointers. Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. Author A. Voronin (a.voro...@fobos-nt.ru). -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org