Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-419

PassivePorts.reserveNextPort() is not synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.5
    • 1.0.6, 1.1.0
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            niklas Niklas Therning
            prisoner Allen Firstenberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: