8000 gh-111178: fix UBSan failures in `Modules/mmapmodule.c` by picnixz · Pull Request #129784 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111178: fix UBSan failures in Modules/mmapmodule.c #129784

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

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

picnixz
Copy link
Member
@picnixz picnixz commented Feb 7, 2025

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.

@encukou encukou merged commit 0d0be7f into python:main Feb 19, 2025
41 checks passed
@picnixz picnixz deleted the fix/ubsan/mmap-111178 branch February 21, 2025 12:36
picnixz pushed a commit that referenced this pull request Feb 22, 2025
…-129784 (#130446)

The `PyCFunction` cast on `mmap__sizeof__method` was removed but the method was not updated accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0