You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "David Latorre (JIRA)" <ji...@apache.org> on 2009/04/07 10:07:13 UTC
[jira] Created: (FTPSERVER-288) Race in condition in STOU
getUniqueFile
Race in 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, 1.0.0-RC2, 1.0.0-RC1, 1.0.0-M4, 1.0.0-M3, 1.0.0-M2, 1.0.0-M1, 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.
[jira] Updated: (FTPSERVER-288) Race condition in STOU
getUniqueFile
Posted by "David Latorre (JIRA)" <ji...@apache.org>.
[ 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.