[esb-issues] [JBoss JIRA] Created: (JBESB-1816) FTP uploading could result in null output stream

Kevin Conner (JIRA) jira-events at lists.jboss.org
Tue Jun 17 05:48:33 EDT 2008


FTP uploading could result in null output stream
------------------------------------------------

                 Key: JBESB-1816
                 URL: http://jira.jboss.com/jira/browse/JBESB-1816
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.3, 4.2.1 TP-FP1
            Reporter: Kevin Conner
         Assigned To: Kevin Conner
             Fix For: 4.2.1 TP-FP2, 4.4


The FTP storeFileStream method can return a null output stream as well as throwing an exception on error conditions.

One circumstance when this occurs is when an active data connection fails to be established (this is in response to a PORT command).  This will result in a 500 response being sent back to the FTP client which results in a null output stream.

The FtpImpl should check for null returns and throw an exception containing the reply string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list