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: fix potential use of null pointer in nditer buffers #19007

Merged
merged 1 commit into from
May 14, 2021
Merged

BUG: fix potential use of null pointer in nditer buffers #19007

merged 1 commit into from
May 14, 2021

Conversation

cgohlke
Copy link
Contributor

@cgohlke cgohlke commented May 13, 2021

The buffers[iop] pointer was used unsafely in memset after it was verified against nullptr.

@seberg seberg added the 09 - Backport-Candidate PRs tagged should be backported label May 13, 2021
@seberg
Copy link
Member

seberg commented May 14, 2021

Nevermind that build error on travis. This looks right, lets just put it in. Thanks!

@seberg seberg changed the title BUG: fix potential use of null pointer BUG: fix potential use of null pointer in nditer buffers May 14, 2021
@seberg seberg merged commit c33992f into numpy:main May 14, 2021
@charris charris added this to the 1.20.4 release milestone Jun 6, 2021
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 13, 2021
@charris charris removed this from the 1.20.4 release milestone Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants