mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Firstenberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FTPSERVER-419) PassivePorts.reserveNextPort() is not synchronized
Date Tue, 14 Jun 2011 22:28:47 GMT
PassivePorts.reserveNextPort() is not synchronized
--------------------------------------------------

                 Key: FTPSERVER-419
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-419
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.5
            Reporter: Allen Firstenberg


PassivePorts.reserveNextPort() is not synchronized, nor is there a synchronized block inside
it.  Both it and releasePort(int) should probably be synchronized on either this or a common
sync object to ensure there is no race condition.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message