gh-111178: fix UBSan failures in Modules/posixmodule.c#129788
Conversation
vstinner
left a comment
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
There was a redundant cast that I missed. I also renamed some parameters that I incorrectly renamed (using |
Sorry, something went wrong.
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. |
Sorry, something went wrong.
The thing is that I saw one usage of The semantic change I usually do is |
Sorry, something went wrong.
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.