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

[C++] AssertTablesEqual(verbose=true) segfaults if the left array has more rows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 3.0.0
    • C++

    Description

      MultipleChunkIterator is used to implement the verbose comparison in AssertTablesEqual and seems to assume that the arrays have identical length. If the left chunkedarray is longer, this will result in segfaulting when trying to read nonexistent chunks of the right chunkedarray.

      Attachments

        Issue Links

          Activity

            People

              westonpace Weston Pace
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m