-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Add two missing error checks in hamt.c #5851
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
Conversation
Python/hamt.c
Outdated
if (child_node == (PyHamtNode *)self) { | ||
if (child_node == NULL) { | ||
return NULL; | ||
} else if (child_node == (PyHamtNode *)self) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except one nit. Thanks!
Thanks @zhangyangyu for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
(cherry picked from commit 3c7ac7e) Co-authored-by: Xiang Zhang <angwerzx@126.com>
GH-6025 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit 3c7ac7e) Co-authored-by: Xiang Zhang <angwerzx@126.com>
No description provided.