Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8223

[Broker-J] [AMQP 1.0] Broker can stop delivering messages when sending link delivery-count value exceeds Integer.MAX_VALUE, wraps around and turns negative

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-broker-7.0.3, qpid-java-broker-7.0.2, qpid-java-broker-7.0.0, qpid-java-broker-7.0.1, qpid-java-broker-7.0.4, qpid-java-broker-7.0.5, qpid-java-broker-7.0.6
    • Broker-J
    • None

    Description

      The value of delivery-count is conceptually unbounded but it is encoded as a 32-bit
      integer that wraps around and compares according to RFC-1982 serial number arithmetic. Broker-J does not handle the case of "negative credit" on a link correctly. For example, if deliver count is -1 and credit is 1, then limit would calculate as 0 and broker would stop sending messages

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: