Skip to content

gentype_alloc in scalartypes.c.src does not check for memory error. #5570

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

Closed
charris opened this issue Feb 14, 2015 · 1 comment
Closed

gentype_alloc in scalartypes.c.src does not check for memory error. #5570

charris opened this issue Feb 14, 2015 · 1 comment

Comments

@charris
Copy link
Member

charris commented Feb 14, 2015

As stated. This function could possibly be simplified to use PyObject_{New, NewVar} if the extra bits of the object don't need to be initialized to zero, the steps are otherwise identical if the error check is omitted.

@WarrenWeckesser
Copy link
Member

This was fixed in #16938.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants