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