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

BUG: protect against accessing base attribute of a NULL subarray #19353

Merged
merged 4 commits into from Jun 25, 2021

Conversation

charris
Copy link
Member

@charris charris commented Jun 25, 2021

Backport of #19326.

closes #19325

This PR is to protect against potential segfaults in void_to_void_resolve_descriptors. This is the first time I have looked at this code, so there may be a better solution, but this seems to work for the example given in #19325

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jun 25, 2021
@charris charris added this to the 1.21.1 release milestone Jun 25, 2021
@charris charris merged commit c8d74b7 into numpy:maintenance/1.21.x Jun 25, 2021
@charris charris deleted the backport-19326 branch June 25, 2021 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants