Skip to content

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

Merged
charris merged 4 commits into
numpy:maintenance/1.21.xfrom
charris:backport-19326
Jun 25, 2021
Merged

charris merged 4 commits into
numpy:maintenance/1.21.xfrom
charris:backport-19326

Conversation

@charris

@charris charris commented Jun 25, 2021

Copy link
Copy Markdown
Member

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.

2 participants