[
https://issues.apache.org/jira/browse/FTPSERVER-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Gustavsson closed FTPSERVER-419.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
1.0.6
Assignee: Niklas Gustavsson
Fixed in rev 1137251 and 1137252.
> 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
> Assignee: Niklas Gustavsson
> Fix For: 1.0.6, 1.1.0
>
>
> 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