Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1443

[Java] Bug on ArrowBuf.setBytes with unsliced ByteBuffers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • Java
    • None

    Description

      There is a small bug on ArrowBuf at line 750. It says:

      udle.setBytes(index + offset, buf);
      

      But it should say:

      udle.setBytes(index + offset, newBuf);
      

      There is a wraparound: You can call the method with the already sliced buffer.

      Attachments

        Activity

          People

            gortizja Gonzalo Ortiz
            gortizja Gonzalo Ortiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: