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

EncodingUtils#readLongAsShortString does not guard against the string containing characters not in the range '0'-'9'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.32, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2, qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.1
    • qpid-java-broker-7.0.0
    • Java Common
    • None

    Description

      EncodingUtils#readLongAsShortString does not guard against the string containing characters not in the range '0'-'9'. Especially, the lines containing the following:
      result = digit - (byte) '0';
      result += digit - (byte) '0';

      Attachments

        Activity

          People

            kwall Keith Wall
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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