Skip to content

gh-111178: fix UBSan failures in Modules/pyexpat.c #129789

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 7 commits into from
Feb 24, 2025

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Feb 7, 2025

This PR fixes the UBSan failures and addresses some minor cosmetic changes. Some PEP-7 changes were applied assuming they do not scramble the diff and other semantic changes affecting the signature of touched functions may have been done as well.

@picnixz picnixz marked this pull request as draft February 21, 2025 15:35
@picnixz picnixz marked this pull request as ready for review February 22, 2025 10:15
@picnixz picnixz requested a review from encukou February 23, 2025 09:47
@encukou encukou merged commit c070aba into python:main Feb 24, 2025
43 checks passed
@picnixz picnixz deleted the fix/ubsan/pyexpat-111178 branch February 24, 2025 11:01
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…129789)

Fix UBSan failures for `xmlparseobject`, XML handler setters
Suppress unused return values

Rewrite `RC_HANDLER` with better semantics
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