Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11913

BufferUnderFlowException in CompressorTest

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.2.7, 3.0.8, 3.8
    • Component/s: Legacy/Testing
    • Labels:
      None
    • Environment:

      Non-x86 environments

    • Severity:
      Low
    • Since Version:

      Description

      org.apache.cassandra.io.compress.CompressorTest causes java.nio.BufferUnderflowException on environments where FastByteOperations uses PureJavaOperations. The root cause is that CompressorTest.testArrayUncompress() copies data from a ByteBuffer to a byte array beyond the limit of the ByteBuffer.

        Attachments

          Activity

            People

            • Assignee:
              ReiOdaira Rei Odaira
              Reporter:
              ReiOdaira Rei Odaira
              Authors:
              Rei Odaira
              Reviewers:
              Branimir Lambov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: