Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
asfimport opened this issue Nov 5, 2020 · 1 comment
Closed

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

asfimport opened this issue Nov 5, 2020 · 1 comment

Comments

@asfimport
Copy link
Collaborator

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.

Reporter: Terence Honles / @terencehonles
Assignee: Terence Honles / @terencehonles

PRs and other links:

Note: This issue was originally created as ARROW-10499. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Kouhei Sutou / @kou:
Issue resolved by pull request 8595
#8595

@asfimport asfimport added this to the 3.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant