[
https://issues.apache.org/jira/browse/FTPSERVER-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Latorre updated FTPSERVER-288:
------------------------------------
Summary: Race condition in STOU getUniqueFile (was: Race in condition in
STOU getUniqueFile )
> Race condition in STOU getUniqueFile
> --------------------------------------
>
> Key: FTPSERVER-288
> URL: https://issues.apache.org/jira/browse/FTPSERVER-288
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0-M1, 1.0.0-M2, 1.0.0-M3, 1.0.0-M4, 1.0.0-RC1,
> 1.0.0-RC2, 1.0.0, 1.0.1, 1.1
> Reporter: David Latorre
>
> Sai reports the following bug:
> 2. getUniqueFile in STOU command may need to be synchronized. Even if we
> synchronize it, there is no gurantee that two different FTP sessions get the
> same file as we do not create the file in this method. Perhaps, we should use
> File.createTempFile() method to do this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.