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

[C++][Java] Fix ORC Java JNI Crash

    XMLWordPrintableJSON

Details

    Description

      OrcStripeReaderJniWrapper::getSchema previously used nullptr for the memory pool parameter to arrow::ipc::SerializeSchema to implicitly call arrow::default_memory_pool(). As part of https://issues.apache.org/jira/browse/ARROW-10080 a check was placed to fail on nullptr being provided. This change removes the check, but also explicitly calls arrow::default_memory_pool() which is used elsewhere in the JNI wrapper.

      Attachments

        Issue Links

          Activity

            People

              terence.honles Terence Honles
              terence.honles Terence Honles
              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 - 1h 20m
                  1h 20m