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

[Java Common] Bug in AMQShortString on tokenized substrings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M2.1
    • None
    • Java Common
    • None

    Description

      the tokenizer on AMQShortString creates substrings backed by the same array. Unfortunately some methods on AMQShortString do not handle backing arrays with non-zero start offsets correctly (namely toIntValue and tokenize itself).

      Luckily nowhere in the M2.1 code is tokenize() or toIntValue() called on a AMQShortString which is itself the product of a tokenization.

      Therefore this bug should not stop the M2.1 release.

      Attachments

        1. QPID-899.patch
          4 kB
          Robert Godfrey

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified