Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1027

Incorrectly handling of invalid addresses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: cpp-binding
    • Labels:
      None
    • Environment:

      Description

      The code seems to accept invalid combinations of hosts/IPs.

      Having the QPid Proton source code compile, you can run one of the following to reproduce the problem:

      A. Try to connect to to a server with an invalid ip address:
      ./server -a 355.355.355.412:5672/test.reactor.queue
      server connected to amqp://355.355.355.412:5672/test.reactor.queue

      B. Try to connect to an invalid server whose address cannot be resolved:
      ./server -a host_does_not_exist:5672/test.reactor.queue
      server connected to amqp://host_does_not_exist:5672/test.reactor.queue

      C. Try to connect to a valid server using an invalid port:
      ./server -a valid-address:567299999999/test.reactor.queue
      server connected to amqp://valid-address:567299999999/test.reactor.queue

        Attachments

          Activity

            People

            • Assignee:
              cliffjansen Cliff Jansen
              Reporter:
              orpiske Otavio Rodolfo Piske
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: