-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-111178: fix UBSan failures in Modules/posixmodule.c
#129788
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
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
There was a redundant cast that I missed. I also renamed some parameters that I incorrectly renamed (using |
FWIW, I'm skeptical here -- I don't think we can make it reliably tell you more. But, if it doesn't matter, why not use your suggestions. |
The thing is that I saw one usage of The semantic change I usually do is |
…nGH-129788) Fix UBSan failures for `DirEntry`, `ScandirIterator` Use better semantic naming
This PR fixes the UBSan failures and addresses some minor cosmetic changes. PEP-7 changes were not applied since they could scramble the diff but other semantic changes affecting the signature of touched functions may have been done.