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

Validate output length in MDArray::read_into_slice #480

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Dec 1, 2023

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Alternative to #475.

We move the FFI code into an unsafe function that takes a pointer and validate the output length in the caller.

r? @rouault, r? @metasim

@lnicola lnicola merged commit f10bfb5 into georust:master Dec 1, 2023
9 checks passed
@lnicola lnicola deleted the mdarray-read-into-slice branch December 1, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants