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

[C++] Out-of-bounds write in ListArray::FromArrays

    XMLWordPrintableJSON

Details

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

    Description

      This crashes when the batch is dropped with the error mimalloc: error: buffer overflow in heap block 0000040000001A00 of size 512: write after 512 bytes

      auto batch_schema = schema({field("list", list(float64()), true), field("f64", float64())});
      auto batch = random::GenerateBatch(batch_schema->fields(), /*batch_size=*/4096, /*seed=*/0);
      

      Notably all the following are required:

      Attachments

        Issue Links

          Activity

            People

              lidavidm David Li
              lidavidm David Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m