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

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: qpid-java-broker-7.0.0
    • Component/s: Java Common
    • Labels:
      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

            • Assignee:
              kwall Keith Wall
              Reporter:
              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