Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1026

Router crashing when using sourcePattern/targetPattern with multiple patterns and one of them being user token when trying to open an unauthorized address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      When you define a vhost policy with a targetPattern or a sourcePattern using multiple addresses and one of them being the ${user} (user token), and if you try to connect to an unauthorized address, the router crashes.

      Example:

      targetPattern: queue/${user}, sample, address

       

      If you try to connect a sender to an address, like, "notauthorized" then the router crashes with:

      qdrouterd: /tmp/qpid-dispatch/src/policy.c:848: _qd_policy_approve_link_name_tree: Assertion `0' failed.
      Aborted (core dumped)

      Attachments

        Activity

          People

            Unassigned Unassigned
            fgiorget Fernando Giorgetti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: