Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4316

TByteBuffer.java will read too much data if a previous read returns fewer bytes than requested

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Java - Library
    • Labels:
      None

      Description

      The TByteBuffer read() method is using the wrong length variable inside the processing loop and may read more than it should.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                jking3 James E. King III
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: