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

Use Py_ssize_t when calculate buffer len #145

Merged

Conversation

jmao-denver
Copy link
Contributor

@jmao-denver jmao-denver commented Apr 30, 2024

Also fixed all the pointer to long conversions that clang 15 considers error by default on MacOS M2

Fixes #143

Also fix the pointer to long conversions
that clang 15 considers error by default
on MacOS M2
@jmao-denver jmao-denver added the bug Something isn't working label Apr 30, 2024
@jmao-denver jmao-denver self-assigned this Apr 30, 2024
Copy link
Member

@devinrsmith devinrsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's an issue associated with this PR?

@jmao-denver
Copy link
Contributor Author

jmao-denver commented Apr 30, 2024

I think there's an issue associated with this PR?

Yes, 5403, I manually tested it and confirmed the fix. But I had to increase the max JVM heap size to 8G, I am not sure if we want to include the test in the CI.

@jmao-denver jmao-denver merged commit 6c78a2f into jpy-consortium:master May 6, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Large arrays create incorrect buffers
2 participants